Re: [PATCHv1 3/8] cgroup: add function to get task's cgroup on default hierarchy

2014-10-16 Thread Serge E. Hallyn
Quoting Aditya Kali (adityak...@google.com): > get_task_cgroup() returns the (reference counted) cgroup of the > given task on the default hierarchy. > > Signed-off-by: Aditya Kali Acked-by: Serge Hallyn > --- > include/linux/cgroup.h | 1 + > kernel/cgroup.c| 25

[PATCHv1 3/8] cgroup: add function to get task's cgroup on default hierarchy

2014-10-13 Thread Aditya Kali
get_task_cgroup() returns the (reference counted) cgroup of the given task on the default hierarchy. Signed-off-by: Aditya Kali --- include/linux/cgroup.h | 1 + kernel/cgroup.c| 25 + 2 files changed, 26 insertions(+) diff --git a/include/linux/cgroup.h b/inclu