sched_rt_can_attach
if (!sched_rt_can_attach(css_tg(css), task))
extern int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk);