From: Tejun Heo Date: Fri, 22 Nov 2013 23:20:43 +0000 (-0500) Subject: memcg: make cgroup_event deal with mem_cgroup instead of cgroup_subsys_state X-Git-Tag: v3.14-rc1~136^2~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b6f87344ab5eb3057e5844b8cd8a39e668f477;p=pandora-kernel.git memcg: make cgroup_event deal with mem_cgroup instead of cgroup_subsys_state cgroup_event is now memcg specific. Replace cgroup_event->css with ->memcg and convert [un]register_event() callbacks to take mem_cgroup pointer instead of cgroup_subsys_state one. This simplifies the code slightly and makes css_to_vmpressure() unnecessary which is removed. Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Kirill A. Shutemov Acked-by: Michal Hocko --- Reading git-diff-tree failed