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

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux