diff options
author | Johannes Weiner <jweiner@redhat.com> | 2012-01-13 02:18:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 05:13:05 +0100 |
commit | f53d7ce32e13dbd09573b176e6521a04c2c77803 (patch) | |
tree | af88d1c256d06e3d37c5df013de9ff41f86ed4a2 /mm/internal.h | |
parent | memcg: make mem_cgroup_split_huge_fixup() more efficient (diff) | |
download | linux-f53d7ce32e13dbd09573b176e6521a04c2c77803.tar.xz linux-f53d7ce32e13dbd09573b176e6521a04c2c77803.zip |
mm: memcg: shorten preempt-disabled section around event checks
Only the ratelimit checks themselves have to run with preemption
disabled, the resulting actions - checking for usage thresholds,
updating the soft limit tree - can and should run with preemption
enabled.
Signed-off-by: Johannes Weiner <jweiner@redhat.com>
Reported-by: Yong Zhang <yong.zhang0@gmail.com>
Tested-by: Yong Zhang <yong.zhang0@gmail.com>
Reported-by: Luis Henriques <henrix@camandro.org>
Tested-by: Luis Henriques <henrix@camandro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions