Re: try_to_freeze() called with IRQs disabled on ARM

From: Russell King - ARM Linux
Date: Tue Aug 23 2011 - 18:13:48 EST


On Wed, Aug 24, 2011 at 12:08:23AM +0200, Tejun Heo wrote:
> On Wed, Aug 24, 2011 at 12:00 AM, Russell King - ARM Linux
> <linux@xxxxxxxxxxxxxxxx> wrote:
> > How does that solve it?  IRQs disabled from assembly, which doesn't touch
> > the preempt counter.
>
> Then test something else, be it the IRQ mask bit or some other context.

Thereby entirely preventing threads from being frozen? You're asking
me to effectively disable suspend/resume on an architecture where it's
heavily used. That's not a good idea, and would be an out-right
regression.
--
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/