summaryrefslogtreecommitdiff
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-07-09 03:00:38 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 21:33:24 +0400
commit465939a1fa283cf2a5194362c5accf4429c99c42 (patch)
tree5ef779db1f628b738001e44cad6955991cb06a0b /mm/nobootmem.c
parente0743e6bc5b7587dd0bfa902d67d3f81ef3f6618 (diff)
downloadlinux-465939a1fa283cf2a5194362c5accf4429c99c42.tar.xz
memcg: don't need to free memcg via RCU or workqueue
Now memcg has the same life cycle with its corresponding cgroup, and a cgroup is freed via RCU and then mem_cgroup_css_free() will be called in a work function, so we can simply call __mem_cgroup_free() in mem_cgroup_css_free(). This actually reverts commit 59927fb984d ("memcg: free mem_cgroup by RCU to fix oops"). Signed-off-by: Li Zefan <lizefan@huawei.com> Cc: Hugh Dickins <hughd@google.com> Acked-by: Michal Hocko <mhocko@suse.cz> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Tejun Heo <tj@kernel.org> Cc: Glauber Costa <glommer@openvz.org> 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 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions