Return-path: Received: from out5.smtp.messagingengine.com ([66.111.4.29]:46306 "EHLO out5.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753597Ab2ACAoY (ORCPT ); Mon, 2 Jan 2012 19:44:24 -0500 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C6E2C214A1 for ; Mon, 2 Jan 2012 19:44:23 -0500 (EST) References: <201201022331.27562.marek.vasut@gmail.com> <4F023D02.1030403@fastmail.fm> <201201030131.15397.marek.vasut@gmail.com> In-Reply-To: <201201030131.15397.marek.vasut@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: Re: loading firmware while usermodehelper disabled. From: Jack Stone Date: Tue, 03 Jan 2012 00:44:07 +0000 To: Marek Vasut CC: Linus Torvalds , Alan Stern , Oliver Neukum , Matthew Garrett , Dave Jones , Linux Kernel , Larry Finger , Chaoming Li , "John W. Linville" , Greg Kroah-Hartman , USB list , Linux Wireless List Message-ID: (sfid-20120103_014445_986286_3B0E31EE) Sender: linux-wireless-owner@vger.kernel.org List-ID: Marek Vasut 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.