Re: loading firmware while usermodehelper disabled.

From: Oliver Neukum
Date: Tue Jan 03 2012 - 02:40:02 EST


Am Dienstag, 3. Januar 2012, 01:44:07 schrieb Jack Stone:
> >> Its a perfectly good idea but you still need the full memory
> >requirement
> >> during the suspend.
> >
> >Hm ... and we can't have memory type that "can be swapped-out, but must
> >be
> >loaded back before suspend" in kernel, right?
>
> Nope. Kernel swapping is a big headache and Linux doesn't do it. The only thing we can do is drop any clean cache pages, but that has performance implications.

There is however a notifier chain that is called early enough
to still load stuff from disk so that the additional burden on memory
would be used only when it might be needed.

Regards
Oliver
--
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/