commit | 34c00c319ce7eddf79be0cd307acd5630addcbb8 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Mon Sep 23 16:56:01 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Mon Sep 23 21:44:14 2013 -0400 |
tree | 258bfd6fe01e876feea8a05112338564dde46e05 | |
parent | b47f77b5a2243768d5cb1f143ce5e6c28baa271a [diff] |
memcg: convert to use cgroup id Use cgroup id instead of css id. This is a preparation to kill css id. Note, as memcg treat 0 as an invalid id, while cgroup id starts with 0, we define memcg_id == cgroup_id + 1. Signed-off-by: Li Zefan <lizefan@huawei.com> Acked-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Tejun Heo <tj@kernel.org>