Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-30 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Jan 28, 2014 at 06:43:58PM -0500, Tejun Heo wrote: > > * With the above, renaming subsys identifiers to match the userland > > visible names doesn't cause any naming conflicts. All non-matching > > identifiers are renamed to match the official names. > > >

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-29 Thread Aristeu Rozanski
> --- a/security/device_cgroup.c > +++ b/security/device_cgroup.c > @@ -58,11 +58,9 @@ static inline struct dev_cgroup *css_to_devcgroup(struct > cgroup_subsys_state *s) > > static inline struct dev_cgroup *task_devcgroup(struct task_struct *task) > { > - return css_to_devcgroup(task_css(t

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-29 Thread Peter Zijlstra
On Tue, Jan 28, 2014 at 06:43:58PM -0500, Tejun Heo wrote: > * With the above, renaming subsys identifiers to match the userland > visible names doesn't cause any naming conflicts. All non-matching > identifiers are renamed to match the official names. > > cpu_cgroup -> cpu > perf -> perf

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-29 Thread Michal Hocko
On Tue 28-01-14 18:43:58, Tejun Heo wrote: > cgroup_subsys is a bit messier than it needs to be. > > * The name of a subsys can be different from its internal identifier > defined in cgroup_subsys.h. Most subsystems use the matching name > but three - cpu, memory and perf_event - use differen

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-28 Thread Rafael J. Wysocki
On Tuesday, January 28, 2014 06:43:58 PM Tejun Heo wrote: > cgroup_subsys is a bit messier than it needs to be. > > * The name of a subsys can be different from its internal identifier > defined in cgroup_subsys.h. Most subsystems use the matching name > but three - cpu, memory and perf_event

[PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-28 Thread Tejun Heo
cgroup_subsys is a bit messier than it needs to be. * The name of a subsys can be different from its internal identifier defined in cgroup_subsys.h. Most subsystems use the matching name but three - cpu, memory and perf_event - use different ones. * cgroup_subsys_id enums are postfixed with

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-20 Thread Michal Hocko
On Fri 17-01-14 13:11:54, Tejun Heo wrote: > cgroup_subsys is a bit messier than it needs to be. > > * The name of a subsys can be different from its internal identifier > defined in cgroup_subsys.h. Most subsystems use the matching name > but three - cpu, memory and perf_event - use differen

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-17 Thread David Miller
From: Tejun Heo Date: Fri, 17 Jan 2014 13:11:54 -0500 > Signed-off-by: Tejun Heo Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-i

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-17 Thread Neil Horman
On Fri, Jan 17, 2014 at 01:11:54PM -0500, Tejun Heo wrote: > cgroup_subsys is a bit messier than it needs to be. > > * The name of a subsys can be different from its internal identifier > defined in cgroup_subsys.h. Most subsystems use the matching name > but three - cpu, memory and perf_even

[PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-17 Thread Tejun Heo
cgroup_subsys is a bit messier than it needs to be. * The name of a subsys can be different from its internal identifier defined in cgroup_subsys.h. Most subsystems use the matching name but three - cpu, memory and perf_event - use different ones. * cgroup_subsys_id enums are postfixed with