linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] memcg, cgroup: kill css_id
@ 2013-04-08  8:19 Li Zefan
  2013-04-08  8:20 ` [PATCH 1/8] cgroup: implement cgroup_is_ancestor() Li Zefan
                   ` (8 more replies)
  0 siblings, 9 replies; 37+ messages in thread
From: Li Zefan @ 2013-04-08  8:19 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Tejun Heo, Glauber Costa, KAMEZAWA Hiroyuki, Michal Hocko,
	Johannes Weiner, LKML, Cgroups, linux-mm

(This patchset depends on "memcg: make memcg's life cycle the same as cgroup")

This patchset converts memcg to always use cgroup->id, and then kills
css_id.

As we've removed memcg's own refcnt, converting memcg to use cgroup->id
is very straight-forward.

Li Zefan (8):
      cgroup: implement cgroup_is_ancestor()
      cgroup: implement cgroup_from_id()
      memcg: convert to use cgroup_is_ancestor()
      memcg: convert to use cgroup_from_id()
      memcg: convert to use cgroup->id
      memcg: fail to create cgroup if the cgroup id is too big
      memcg: don't use css_id any more
      cgroup: kill css_id

--
 include/linux/cgroup.h |  44 ++-------
 kernel/cgroup.c        | 302 +++++++++-----------------------------------------------------
 mm/memcontrol.c        |  53 ++++++-----
 3 files changed, 77 insertions(+), 322 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2013-04-09  6:49 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08  8:19 [PATCH 0/8] memcg, cgroup: kill css_id Li Zefan
2013-04-08  8:20 ` [PATCH 1/8] cgroup: implement cgroup_is_ancestor() Li Zefan
2013-04-08 14:47   ` Michal Hocko
2013-04-08 15:57     ` Tejun Heo
2013-04-08 16:33       ` Michal Hocko
2013-04-08 18:03     ` Michal Hocko
2013-04-08 21:36       ` Tejun Heo
2013-04-09  6:42         ` Michal Hocko
2013-04-08 15:39   ` Tejun Heo
2013-04-09  3:21   ` Kamezawa Hiroyuki
2013-04-09  3:29     ` Li Zefan
2013-04-08  8:20 ` [PATCH 2/8] cgroup: implement cgroup_from_id() Li Zefan
2013-04-08 15:43   ` Tejun Heo
2013-04-09  3:12     ` Li Zefan
2013-04-08 15:48   ` Tejun Heo
2013-04-09  3:56   ` Kamezawa Hiroyuki
2013-04-09  4:08   ` Kamezawa Hiroyuki
2013-04-08  8:21 ` [PATCH 3/8] memcg: convert to use cgroup_is_ancestor() Li Zefan
2013-04-09  3:58   ` Kamezawa Hiroyuki
2013-04-09  6:49   ` Michal Hocko
2013-04-08  8:21 ` [PATCH 4/8] memcg: convert to use cgroup_from_id() Li Zefan
2013-04-08 14:53   ` Michal Hocko
2013-04-09  3:00     ` Li Zefan
2013-04-09  3:59   ` Kamezawa Hiroyuki
2013-04-08  8:22 ` [PATCH 5/8] memcg: convert to use cgroup->id Li Zefan
2013-04-08 14:57   ` Michal Hocko
2013-04-09  3:02     ` Li Zefan
2013-04-09  6:49       ` Michal Hocko
2013-04-09  4:02   ` Kamezawa Hiroyuki
2013-04-08  8:22 ` [PATCH 6/8] memcg: fail to create cgroup if the cgroup id is too big Li Zefan
2013-04-08 15:01   ` Michal Hocko
2013-04-08  8:23 ` [PATCH 7/8] memcg: don't use css_id any more Li Zefan
2013-04-08 15:01   ` Michal Hocko
2013-04-09  4:11   ` Kamezawa Hiroyuki
2013-04-08  8:23 ` [PATCH 8/8] cgroup: kill css_id Li Zefan
2013-04-08 15:51   ` Tejun Heo
2013-04-08 14:37 ` [PATCH 0/8] memcg, " Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).