lkml.org 
[lkml]   [2013]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 17/76] ARC: Process-creation/scheduling/idle-loop
Date
On Monday 21 January 2013, Vineet Gupta wrote:
> - while (!need_resched())
> +doze:
> + local_irq_disable();
> + if (!need_resched()) {
> arch_idle();
> + goto doze;
> + } else {
> + local_irq_enable();
> + }
>

Ok, that looks like it will work.

Arnd


\
 
 \ /
  Last update: 2013-01-21 16:21    [W:0.099 / U:22.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site