aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-07 18:55:47 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-07 19:11:08 +0100
commit69de8a32166a1f7284e221ece800402aacf8910d (patch)
tree5888eb8f7bc9427f7e9ccc1e278a6b965ce64a82 /include/drm
parentnet: usb: qmi_wwan: add Telit 0x1080 composition (diff)
downloadwireguard-linux-stable.tar.xz
wireguard-linux-stable.zip
wireguard: queueing: use saner cpu selection wrappingHEADstable
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