]> Git Repo - linux.git/commit
mm: memcg: shorten preempt-disabled section around event checks
authorJohannes Weiner <[email protected]>
Fri, 13 Jan 2012 01:18:23 +0000 (17:18 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Jan 2012 04:13:05 +0000 (20:13 -0800)
commitf53d7ce32e13dbd09573b176e6521a04c2c77803
treeaf88d1c256d06e3d37c5df013de9ff41f86ed4a2
parente94c8a9cbce1aee4af9e1285802785481b7f93c5
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 <[email protected]>
Reported-by: Yong Zhang <[email protected]>
Tested-by: Yong Zhang <[email protected]>
Reported-by: Luis Henriques <[email protected]>
Tested-by: Luis Henriques <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.0528920000000001 seconds and 4 git commands to generate.