Re: [PATCH -tip] sched: use need_resched
From: Ingo Molnar
Date: Fri Mar 06 2009 - 05:49:47 EST
* Lai Jiangshan <laijs@xxxxxxxxxxxxxx> wrote:
>
> Impact: cleanup
>
> use need_resched() instead of unlikely(test_thread_flag(TIF_NEED_RESCHED))
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
looks good - but it does not apply cleanly to the latest
scheduler tree:
http://people.redhat.com/mingo/tip.git/README
Could you please send a merged up patch and also make sure
there's no other TIF_NEED_RESCHED usage in kernel/sched.c that
could be converted to need_resched()?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/