Re: loading firmware while usermodehelper disabled.
From: Jack Stone
Date: Mon Jan 02 2012 - 19:44:29 EST
Marek Vasut <marek.vasut@xxxxxxxxx> wrote:
>> On 02/01/12 22:31, Marek Vasut wrote:
>> >> I don't think there is anyway to avoid the memory requirement if
>we want
>> >> to be able to resume transparently to user-space (or even resume
>at all
>> >> in some setups).
>> >
>> > Well ... injecting firmware into kernel with some userland helper
>just
>> > before suspend is no-go?
>>
>> 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.
Thanks,
Jack
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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/