diff options
author | Johannes Weiner <[email protected]> | 2015-06-10 11:14:54 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-06-10 16:43:43 -0700 |
commit | f371763a79d5212c2cb216b46fa8af46ba56cee3 (patch) | |
tree | 05901da392e1cd5b2c837e6709c7d262a5012ae9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5129e87cb81996d4d7e8f5a86b5355c5f2d0383b (diff) |
mm: memcontrol: fix false-positive VM_BUG_ON() on -rt
On -rt, the VM_BUG_ON(!irqs_disabled()) triggers inside the memcg
swapout path because the spin_lock_irq(&mapping->tree_lock) in the
caller doesn't actually disable the hardware interrupts - which is fine,
because on -rt the tophalves run in process context and so we are still
safe from preemption while updating the statistics.
Remove the VM_BUG_ON() but keep the comment of what we rely on.
Signed-off-by: Johannes Weiner <[email protected]>
Reported-by: Clark Williams <[email protected]>
Cc: Fernando Lopez-Lezcano <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions