/* return group to which a task belongs */static inline struct task_group *task_group(struct task_struct *p){struct task_group *tg;#ifdef CONFIG_USER_SCHEDrcu_read_lock();tg = __task_cred(p)->user->tg;rcu_read_unlock();#elif defined(CONFIG_CGROUP_SCHED)tg = container_of(task_subsys_state(p, cpu_cgroup_subsys_id),struct task_group, css);#elsetg = &init_task_group;#endifreturn tg;}thanks
--wang xingchao