Re: try_to_freeze() called with IRQs disabled on ARM

From: Rafael J. Wysocki
Date: Tue Aug 23 2011 - 18:11:59 EST


On Tuesday, August 23, 2011, Tejun Heo wrote:
> Hello,
>
> On Tue, Aug 23, 2011 at 11:51 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> >> and the boot runs very slowly. Reverting the series merged in 56f0be
> >> appears to resolve the issue,
> >
> > In fact, the patch from:
> >
> > https://patchwork.kernel.org/patch/1083602/
> >
> > is sufficient to make the calltrace go away.
>
> Yes, that's true but the added might_sleep() discovered an actual bug
> here, so I still think it's better to keep it there.

Well, I think we _have_ _to_ put it into __refrigerator() at least until
the ARM issue is fixed (other architectures seem to do similar things, BTW),
since otherwise this can be reported over and over again.

Let's try to fix the known issues first and _then_ we can move the
might_sleep() back into try_to_freeze().

Thanks,
Rafael
--
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/