Re: [GIT PULL] scheduler fixes

Peter Zijlstra
2010-12-20T10:15:37Z

On Sun, 2010-12-19 at 12:45 -0800, Linus Torvalds wrote:
> On Sun, Dec 19, 2010 at 7:27 AM, Ingo Molnar <mingo@elte.hu> wrote:
> > @@ -3943,6 +4128,7 @@ need_resched_nonpreemptible:
> > rq->nr_switches++;
> > rq->curr = next;
> > ++*switch_count;
> > + WARN_ON_ONCE(test_tsk_need_resched(next));
> >
> > context_switch(rq, prev, next); /* unlocks the rq */
> > /*
> > diff --git a/kernel/timer.c b/kern
>
> Please don't add like this in an -rc. It looks like it's some
> debugging aid, I don't think it should have gone in now.
>
Correct, I did ask Ingo to remove that line before he pushed it out to
you. Anyway, it seems to be sorted now. Sorry for the bother.