Re: [PATCH v2 17/76] ARC: Process-creation/scheduling/idle-loop

2013-01-21 Thread Arnd Bergmann
On Monday 21 January 2013, Vineet Gupta wrote: > - while (!need_resched()) > +doze: > + local_irq_disable(); > + if (!need_resched()) { > arch_idle(); > + goto doze; > + } else { > +

Re: [PATCH v2 17/76] ARC: Process-creation/scheduling/idle-loop

2013-01-21 Thread Vineet Gupta
On Friday 18 January 2013 08:05 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> +void cpu_idle(void) >> +{ >> + /* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */ >> + >> + /* endless idle loop with no priority at all */ >> + while (1)

Re: [PATCH v2 17/76] ARC: Process-creation/scheduling/idle-loop

2013-01-18 Thread Arnd Bergmann
On Friday 18 January 2013, Vineet Gupta wrote: > +void cpu_idle(void) > +{ > + /* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */ > + > + /* endless idle loop with no priority at all */ > + while (1) { > + tick_nohz_idle_enter(); > + rcu