]> git.baikalelectronics.ru Git - kernel.git/commit
proc: Reduce cache miss in snmp6_seq_show
authorJia He <hejianet@gmail.com>
Fri, 30 Sep 2016 03:29:00 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2016 05:50:44 +0000 (01:50 -0400)
commit97ad80b94a7b438a51435d99fea3d106cd2470d6
treea69e8313270b72e664467324532def60db621c11
parentbfe719c57c98d4556253f369f3d49d931c7b5bb9
proc: Reduce cache miss in snmp6_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.

Signed-off-by: Jia He <hejianet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c