]> git.baikalelectronics.ru Git - kernel.git/commit
net: move napi_hash[] into read mostly section
authorEric Dumazet <edumazet@google.com>
Wed, 18 Nov 2015 14:31:01 +0000 (06:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2015 21:17:42 +0000 (16:17 -0500)
commitd445626c7a70717201bbbd98881bd8fe217d6842
tree721d4b7a92759fe2951844e6a6f8474cb5fccf97
parent2a8f2b5f5a78352e9027f2bd69d392b0d511556a
net: move napi_hash[] into read mostly section

We do not often add/delete a napi context.
Moving napi_hash[] into read mostly section avoids potential false sharing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/hashtable.h
net/core/dev.c