Re: [PATCH 2.6.11-rc1] add local_irq_enable() to cpu_idle()

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

 



On Tue, Jan 18, 2005 at 11:11:59AM +0900, Yoichi Yuasa wrote:

> "Kevin D. Kissell" <kevink@xxxxxxxx> wrote:
> 
> > There have been times when having local_irq_enable() in my idle loop
> > would have prevented a hang in some of my experimental kernels, too,
> > but it's always been because I had screwed up somewhere else and
> > forgotten to re-enable interrupts.  Is there some good reason why
> > the kernel should end up in idle with interrupts turned off?
> 
> After call local_irq_disable(), rest_init()(in init/main.c) calls cpu_idle().

Indeed.  Was looking at a kernel with kdb which removes this line.

  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