Re: loading firmware while usermodehelper disabled.

Jack Stone
2012-01-03T00:44:31Z

Marek Vasut <marek.vasut@gmail.com> 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.