aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2014-05-04 15:09:13 -0400
committerTejun Heo <[email protected]>2014-05-04 15:09:13 -0400
commit7d699ddb2b181a2c76e5ea18b1bdf102c4bebe4b (patch)
tree0811810b37ff735921b689aa1ca273ecf253e29c /scripts/stackusage
parent69dfa00ccb72a37f3810687ca110e5a8154c6eed (diff)
cgroup, memcg: allocate cgroup ID from 1
Currently, cgroup->id is allocated from 0, which is always assigned to the root cgroup; unfortunately, memcg wants to use ID 0 to indicate invalid IDs and ends up incrementing all IDs by one. It's reasonable to reserve 0 for special purposes. This patch updates cgroup core so that ID 0 is not used and the root cgroups get ID 1. The ID incrementing is removed form memcg. Signed-off-by: Tejun Heo <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Acked-by: Li Zefan <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions