diff options
author | 2023-03-07 18:55:47 +0100 | |
---|---|---|
committer | 2023-03-07 19:11:08 +0100 | |
commit | 69de8a32166a1f7284e221ece800402aacf8910d (patch) | |
tree | 5888eb8f7bc9427f7e9ccc1e278a6b965ce64a82 /include/drm | |
parent | net: usb: qmi_wwan: add Telit 0x1080 composition (diff) | |
download | wireguard-linux-stable.tar.xz wireguard-linux-stable.zip |
Using `% nr_cpumask_bits` is slow and complicated, and not totally
robust toward dynamic changes to CPU topologies. Rather than storing the
next CPU in the round-robin, just store the last one, and also return
that value. This simplifies the loop drastically into a much more common
pattern.
Fixes: e7096c131e51 ("net: WireGuard secure network tunnel")
Cc: stable@vger.kernel.org
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions