Re: cpu_idle and cpu_wait

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 08, 2006 at 01:09:01AM +0900, Atsushi Nemoto wrote:

> [MIPS] reduce race between cpu_wait() and need_resched() checking
> 
> If a thread became runnable between need_resched() and the WAIT
> instruction, switching to the thread will delay until a next interrupt.
> Some CPUs can execute the WAIT instruction with interrupt disabled, so
> we can get rid of this race on them (at least UP case).

Applied but based on feedback from the 4K and 5K CPU designers I modified
your patch to continue using the old code.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux