]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit6180d9de61a5c461f9e3efef5417a844701dbbb2
tree721d4b7a92759fe2951844e6a6f8474cb5fccf97
parentd64b5e85bfe2fe4c790abcbd16d9ae32391ddd7e
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