diff options
author | Florian Westphal <fw@strlen.de> | 2015-07-23 12:05:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-26 21:00:14 -0700 |
commit | 5719b296fb81502d0dbbb4e87b3235e5bdcdfc6b (patch) | |
tree | 570c65c0f68a6e392931d74ec4a1830fe0ac70f8 /block/partitions/sysv68.h | |
parent | 0e60d245a0be7fdbb723607f1d6621007916b252 (diff) | |
download | op-kernel-dev-5719b296fb81502d0dbbb4e87b3235e5bdcdfc6b.zip op-kernel-dev-5719b296fb81502d0dbbb4e87b3235e5bdcdfc6b.tar.gz |
inet: frag: don't wait for timer deletion when evicting
Frank reports 'NMI watchdog: BUG: soft lockup' errors when
load is high. Instead of (potentially) unbounded restarts of the
eviction process, just skip to the next entry.
One caveat is that, when a netns is exiting, a timer may still be running
by the time inet_evict_bucket returns.
We use the frag memory accounting to wait for outstanding timers,
so that when we free the percpu counter we can be sure no running
timer will trip over it.
Reported-and-tested-by: Frank Schreuder <fschreuder@transip.nl>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/partitions/sysv68.h')
0 files changed, 0 insertions, 0 deletions