[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wgStQOQ+rG1EQ_GczUbPQ3Tv39Eve=_39agf-jvyfZV6Q@mail.gmail.com>
Date: Sun, 2 Jul 2023 21:11:57 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Manuel Leiner <manuel.leiner@....de>
Subject: Re: [PATCH net 1/3] wireguard: queueing: use saner cpu selection wrapping
On Sun, 2 Jul 2023 at 18:27, Jason A. Donenfeld <Jason@...c4.com> wrote:
>
> 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@...r.kernel.org
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
Heh, thank you. Your memory is better than mine. That "Reported-by"
mystified me, so I had to go search for it.
March is clearly too long ago for me to remember anything.
I'm like a goldfish.
Linus
Powered by blists - more mailing lists