Re: [RFC][PATCH 0/8] sched,idle: need resched polling rework
From: Peter Zijlstra
Date: Tue Jun 03 2014 - 02:51:14 EST
On Mon, Jun 02, 2014 at 11:40:26PM -0700, Andy Lutomirski wrote:
> Bugs found so far:
>
> defined(SMP) should be defined(CONFIG_SMP)
>
> You're testing polling on the task being woken, which cannot possibly
> succeed: the only tasks that have any business polling are the idle
> tasks. Something like this seems to help:
Urgh,. comes from doing too many things at once.. Thanks, I'll go fix
up.
Attachment:
pgp0LhhIMdh2R.pgp
Description: PGP signature