diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-23 00:20:43 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-11-23 00:20:43 +0100 |
commit | 59b6f87344ab5eb3057e5844b8cd8a39e668f477 (patch) | |
tree | 889411e1dd5023e63dfbd723e770669824c5072d /scripts | |
parent | memcg: remove cgroup_event->cft (diff) | |
download | linux-59b6f87344ab5eb3057e5844b8cd8a39e668f477.tar.xz linux-59b6f87344ab5eb3057e5844b8cd8a39e668f477.zip |
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 <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions