Home
last modified time | relevance | path

Searched hist:"59 f09ae8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dip.h59f09ae8 Wed Sep 29 20:03:32 CDT 2021 Eric Dumazet <edumazet@google.com> net: snmp: inline snmp_get_cpu_field()

This trivial function is called ~90,000 times on 256 cpus hosts,
when reading /proc/net/netstat. And this number keeps inflating.

Inlining it saves many cycles.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ipv4/
H A Daf_inet.c59f09ae8 Wed Sep 29 20:03:32 CDT 2021 Eric Dumazet <edumazet@google.com> net: snmp: inline snmp_get_cpu_field()

This trivial function is called ~90,000 times on 256 cpus hosts,
when reading /proc/net/netstat. And this number keeps inflating.

Inlining it saves many cycles.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>