lkml.org 
[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/12] cgroup: convert memcg controller to the new cftype interface
(2012/03/22 7:17), Tejun Heo wrote:

> Convert memcg to use the new cftype based interface. kmem support
> abuses ->populate() for mem_cgroup_sockets_init() so it can't be
> removed at the moment.
>
> tcp_memcontrol is updated so that tcp_files[] is registered via a
> __initcall. This change also allows removing the forward declaration
> of tcp_files[]. Removed.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Michal Hocko <mhocko@suse.cz>
> Cc: Balbir Singh <bsingharora@gmail.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> Cc: Glauber Costa <glommer@parallels.com>
> Cc: Hugh Dickins <hughd@google.com>
> Cc: Greg Thelen <gthelen@google.com>


Ok, then, files will be created by cgroup core not by memcg.
base_cftypes seems very good.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

Thank you.



\
 
 \ /
  Last update: 2012-03-22 01:31    [W:0.204 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site