Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH v2 0/2] rework wg_cpumask_next_online()
@ 2025-07-19 22:44 Yury Norov
  2025-07-19 22:44 ` [PATCH v2 1/2] wireguard: queueing: simplify wg_cpumask_next_online() Yury Norov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yury Norov @ 2025-07-19 22:44 UTC (permalink / raw)
  To: Jason A. Donenfeld, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, wireguard, netdev,
	linux-kernel
  Cc: Yury Norov

From: Yury Norov (NVIDIA) <yury.norov@gmail.com>

Simplify the function and fix possible out-of-boundary condition.

v2:
 - fix possible >= nr_cpu_ids return (Jason).

Yury Norov (NVIDIA) (2):
  wireguard: queueing: simplify wg_cpumask_next_online()
  wireguard: queueing: always return valid online CPU in wg_cpumask_choose_online()

 drivers/net/wireguard/queueing.h | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-08 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-19 22:44 [PATCH v2 0/2] rework wg_cpumask_next_online() Yury Norov
2025-07-19 22:44 ` [PATCH v2 1/2] wireguard: queueing: simplify wg_cpumask_next_online() Yury Norov
2025-07-19 22:44 ` [PATCH 2/2] wireguard: queueing: always return valid online CPU in wg_cpumask_choose_online() Yury Norov
2025-08-09 13:24 ` [PATCH v2 0/2] rework wg_cpumask_next_online() Yury Norov
2025-09-08 16:50   ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).