net: avoid dirtying sk->sk_napi_id
authorEric Dumazet <edumazet@google.com>
Mon, 25 Oct 2021 16:48:18 +0000 (09:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 01:02:12 +0000 (18:02 -0700)
commit2b13af8ade38ef3afe48d60c518c64010cfa8b0d
tree384bc13ff6108731032d556b0859d5549fc2e842
parentef57c1610dd8fba5031bf71e0db73356190de151
net: avoid dirtying sk->sk_napi_id

sk_napi_id is located in a cache line that can be kept read mostly.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/busy_poll.h