Re: [PATCH v3 6/9] devcg: use css_online and css_offline

2013-01-29 Thread Tejun Heo
On Tue, Jan 29, 2013 at 02:08:05PM -0500, a...@redhat.com wrote: > Allocate resources and change behavior only when online. > This patch is in preparation for hierarchy support. I think the description is a bit lacking. We need this because we need to reliably determine whether a certain node is

[PATCH v3 6/9] devcg: use css_online and css_offline

2013-01-29 Thread aris
Allocate resources and change behavior only when online. This patch is in preparation for hierarchy support. Cc: Tejun Heo Cc: Serge Hallyn Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c | 59 +-- 1 file changed, 42 insertions(+), 17