Re: [PATCH] sched/core: remove check of p->sched_class

2015-01-06 Thread Peter Zijlstra
On Mon, Dec 29, 2014 at 02:41:43PM +0800, Yao Dongdong wrote: > Search all usage of p->sched_class in sched/core.c, no one check it > before use, so it seems that every task must belong to one sched_class. > Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH] sched/core: remove check of p->sched_class

2014-12-28 Thread Yao Dongdong
Search all usage of p->sched_class in sched/core.c, no one check it before use, so it seems that every task must belong to one sched_class. Signed-off-by: Yao Dongdong --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/c