Re: RCU question

From: Zwane Mwaikambo
Date: Fri Dec 10 2004 - 21:46:52 EST


On Fri, 10 Dec 2004, George Anzinger wrote:

> > But that's a deadlock and if you enable interrupts you race.
>
> Again, I remind you we are in the idle task. Nothing more important to do.
> Or do you mean that softirq_pending() will NEVER return false?
>
> The other question is: "Is useful work being done?"

We're in the idle task but obviously interrupts (such as network) are
still coming in. So you may take an interrupt after your while
(softirq_pending()) loop has exited.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/