diff options
author | Glauber Costa <glommer@parallels.com> | 2013-02-23 01:34:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-24 02:50:18 +0100 |
commit | 692e89abd154b04d212dce0c18a449bda15aac04 (patch) | |
tree | 91073f62049a9ffe49686cd10d4fd5cb09b26ac7 /CREDITS | |
parent | memcg: replace cgroup_lock with memcg specific memcg_lock (diff) | |
download | linux-692e89abd154b04d212dce0c18a449bda15aac04.tar.xz linux-692e89abd154b04d212dce0c18a449bda15aac04.zip |
memcg: increment static branch right after limit set
We were deferring the kmemcg static branch increment to a later time,
due to a nasty dependency between the cpu_hotplug lock, taken by the
jump label update, and the cgroup_lock.
Now we no longer take the cgroup lock, and we can save ourselves the
trouble.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hiroyuki Kamezawa <kamezawa.hiroyuki@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions