Messages in this thread | | | Date | Tue, 09 Apr 2013 11:57:49 +0900 | From | Kamezawa Hiroyuki <> | Subject | Re: [PATCH 12/12] memcg: don't need to free memcg via RCU or workqueue |
| |
(2013/04/08 15:36), Li Zefan wrote: > Now memcg has the same life cycle with its corresponding cgroup, and > a cgroup is freed via RCU and then mem_cgroup_css_free() is called > in a work function, so we can simply call __mem_cgroup_free() in > mem_cgroup_css_free(). > > This actually reverts 59927fb984de1703c67bc640c3e522d8b5276c73 > ("memcg: free mem_cgroup by RCU to fix oops"). > > Cc: Hugh Dickins <hughd@google.com> > Signed-off-by: Li Zefan <lizefan@huawei.com>
Very nice.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
| |