diff options
author | 2016-04-27 22:48:25 -0400 | |
---|---|---|
committer | 2016-04-27 22:48:25 -0400 | |
commit | 210732d16d20f0c18fc5e5dcdf726c8b02b81957 (patch) | |
tree | f0a676282ad3a6c5f19a0e8fb2a2c771b6433008 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff) | |
parent | net: snmp: kill STATS_BH macros (diff) | |
download | wireguard-linux-210732d16d20f0c18fc5e5dcdf726c8b02b81957.tar.xz wireguard-linux-210732d16d20f0c18fc5e5dcdf726c8b02b81957.zip |
Merge branch 'snmp-stats-update'
Eric Dumazet says:
====================
net: snmp: update SNMP methods
In the old days (before linux-3.0), SNMP counters were duplicated,
one set for user context, and anther one for BH context.
After commit 8f0ea0fe3a03 ("snmp: reduce percpu needs by 50%")
we have a single copy, and what really matters is preemption being
enabled or disabled, since we use this_cpu_inc() or __this_cpu_inc()
respectively.
This patch series kills the obsolete STATS_USER() helpers,
and rename all XXX_BH() helpers to __XXX() ones, to more
closely match conventions used to update per cpu variables.
This is probably going to hurt maintainers job for a while,
since cherry-picks will not be clean, but this had to be
cleaned at one point. I am so sorry guys.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions