Tejun Heo
7d699ddb2b
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 <tj@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Li Zefan <lizefan@huawei.com>
2014-05-04 15:09:13 -04:00
..
2014-04-03 16:20:49 -07:00
2014-01-23 16:36:50 -08:00
2013-11-13 12:09:09 +09:00
2013-11-23 22:33:49 -08:00
2014-01-23 16:36:50 -08:00
2014-04-07 16:35:55 -07:00
2014-04-07 16:36:15 -07:00
2013-11-06 12:40:26 +01:00
2014-04-18 16:40:09 -07:00
2014-03-19 16:21:49 -07:00
2014-04-18 16:40:09 -07:00
2014-03-19 10:23:54 -04:00
2014-04-18 16:40:08 -07:00
2014-01-21 16:19:48 -08:00
2014-04-07 16:35:58 -07:00
2014-04-01 23:19:30 -04:00
2014-04-07 16:36:15 -07:00
2014-04-03 16:20:50 -07:00
2014-03-04 07:55:47 -08:00
2014-04-03 16:21:01 -07:00
2013-09-30 14:31:02 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:58 -07:00
2014-05-04 15:09:13 -04:00
2014-01-23 16:36:52 -08:00
2014-04-03 13:05:42 -07:00
2014-04-07 16:35:57 -07:00
2014-04-07 16:35:54 -07:00
2014-04-07 16:35:55 -07:00
2014-03-20 22:09:09 -07:00
2014-04-03 16:21:00 -07:00
2014-04-07 16:35:57 -07:00
2014-01-27 21:02:39 -08:00
2014-04-07 16:35:53 -07:00
2014-02-21 08:50:17 +01:00
2014-01-23 16:36:52 -08:00
2013-10-09 14:47:45 +02:00
2014-04-07 16:35:50 -07:00
2013-10-16 21:35:53 -07:00
2014-04-03 16:21:02 -07:00
2014-04-07 16:35:55 -07:00
2014-01-30 16:56:56 -08:00
2014-04-07 16:35:59 -07:00
2014-04-03 16:21:02 -07:00
2014-01-30 11:19:05 -08:00
2013-09-11 15:57:48 -07:00
2014-04-07 16:35:57 -07:00
2013-10-30 14:27:03 -07:00
2014-03-29 09:29:42 -04:00
2013-12-18 19:04:51 -08:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:58 -07:00
2014-04-07 16:35:57 -07:00
2014-04-13 14:10:26 -07:00
2014-04-07 16:36:13 -07:00
2014-04-13 13:28:13 -07:00
2014-04-07 16:36:12 -07:00
2014-04-11 10:06:06 +03:00
2014-04-13 13:28:13 -07:00
2014-01-21 16:19:47 -08:00
2014-04-07 16:35:54 -07:00
2014-02-06 13:48:51 -08:00
2014-04-03 16:21:01 -07:00
2014-02-06 13:48:51 -08:00
2014-04-03 16:21:01 -07:00
2014-04-12 12:38:53 -07:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:35:55 -07:00
2014-02-03 13:24:01 -05:00
2014-04-18 16:40:07 -07:00
2014-04-07 14:55:46 -07:00
2014-04-03 16:21:01 -07:00
2013-09-11 15:57:35 -07:00
2014-03-20 13:43:45 +01:00
2014-04-07 16:38:06 -07:00