diff options
author | Glauber Costa <glommer@parallels.com> | 2013-02-22 16:34:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:18 -0800 |
commit | 692e89abd154b04d212dce0c18a449bda15aac04 (patch) | |
tree | 91073f62049a9ffe49686cd10d4fd5cb09b26ac7 /lib | |
parent | 0999821b1d08f69e3879eb8fa0d28c4aba82ab5e (diff) | |
download | linux-692e89abd154b04d212dce0c18a449bda15aac04.tar.bz2 |
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 'lib')
0 files changed, 0 insertions, 0 deletions