summaryrefslogtreecommitdiff
path: root/net/ipv6/proc.c
diff options
context:
space:
mode:
authorJia He <hejianet@gmail.com>2016-09-30 06:28:59 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-30 08:50:44 +0300
commitf22d5c490990ecb6f4eb70c4ed478fc8cea78fe1 (patch)
tree4b24dc825b3765830bf03b5b3590c0e0dfe6fc37 /net/ipv6/proc.c
parent6348ef2dbbd96c4488a1ee83cc0f0f3d9a314a2f (diff)
downloadlinux-f22d5c490990ecb6f4eb70c4ed478fc8cea78fe1.tar.xz
proc: Reduce cache miss in snmp_seq_show
This is to use the generic interfaces snmp_get_cpu_field{,64}_batch to aggregate the data by going through all the items of each cpu sequentially. Then snmp_seq_show is split into 2 parts to avoid build warning "the frame size" larger than 1024. Signed-off-by: Jia He <hejianet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/proc.c')
0 files changed, 0 insertions, 0 deletions