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 | 347c4a8747104a945ecced358944e42879176ca5 (patch) | |
tree | 86eb8e1aba61017883fff03ab1f25733c419611b /scripts | |
parent | cgroup, memcg: move cgroup->event_list[_lock] and event callbacks into memcg (diff) | |
download | linux-347c4a8747104a945ecced358944e42879176ca5.tar.xz linux-347c4a8747104a945ecced358944e42879176ca5.zip |
memcg: remove cgroup_event->cft
The only use of cgroup_event->cft is distinguishing "usage_in_bytes"
and "memsw.usgae_in_bytes" for mem_cgroup_usage_[un]register_event(),
which can be done by adding an explicit argument to the function and
implementing two wrappers so that the two cases can be distinguished
from the function alone.
Remove cgroup_event->cft and the related code including
[un]register_events() methods.
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