Eric Dumazet 0d6cd689f9 net: proc: speedup /proc/net/netstat
Use cache friendly helpers to better use cpu caches
while reading /proc/net/netstat

Tested on a platform with 256 threads (AMD Rome)

Before: 305 usec spent in netstat_seq_show()
After: 130 usec spent in netstat_seq_show()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20210128162145.1703601-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-29 20:59:53 -08:00
..
2021-01-27 17:04:12 -08:00
2021-01-27 18:53:10 -08:00
2020-12-16 11:01:04 -08:00
2021-01-15 20:02:34 -08:00
2021-01-29 20:59:53 -08:00
2021-01-27 16:53:55 -08:00
2021-01-29 17:38:55 -08:00
2020-11-17 15:22:06 -04:00
2021-01-19 13:01:50 -08:00
2020-10-29 19:27:45 +01:00
2020-12-16 12:44:05 -08:00