Re: [PATCH] Fix failure to resume from initrds.

From: Linus Torvalds
Date: Tue Sep 11 2007 - 10:41:19 EST




On Tue, 11 Sep 2007, Rafael J. Wysocki wrote:
> > Anyway, yes, init is freezable, but should it be?
> >
> > I mean, shouldn't we rather add PF_NOFREEZE to kernel_init()?
>
> Argh, no. PF_NOFREEZE is inherited by the children.

Umm. All of this is __init code - why is freezability even an issue? We
shouldn't be suspending at this point anyway afaik..

Is suspend2 perhaps doing something different here?

Linus
-
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/