diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-08-02 16:49:01 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-08-02 16:49:01 +0200 |
commit | 24b36f0193467fa727b85b4c004016a8dae999b9 (patch) | |
tree | d9518ed0ef2012fd14567d03b500295dfb7fe7e0 /lib/genalloc.c | |
parent | 7df0884ce144396fc151f2af7a73d5fb305f9b03 (diff) | |
download | op-kernel-dev-24b36f0193467fa727b85b4c004016a8dae999b9.zip op-kernel-dev-24b36f0193467fa727b85b4c004016a8dae999b9.tar.gz |
netfilter: {ip,ip6,arp}_tables: dont block bottom half more than necessary
We currently disable BH for the whole duration of get_counters()
On machines with a lot of cpus and large tables, this might be too long.
We can disable preemption during the whole function, and disable BH only
while fetching counters for the current cpu.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions