Return-path: Received: from smtp-out003.kontent.com ([81.88.40.217]:58235 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879Ab2ACHju (ORCPT ); Tue, 3 Jan 2012 02:39:50 -0500 From: Oliver Neukum To: Jack Stone Subject: Re: loading firmware while usermodehelper disabled. Date: Tue, 3 Jan 2012 08:41:32 +0100 Cc: Marek Vasut , Linus Torvalds , Alan Stern , Matthew Garrett , Dave Jones , Linux Kernel , Larry Finger , Chaoming Li , "John W. Linville" , "Greg Kroah-Hartman" , USB list , Linux Wireless List References: <201201030131.15397.marek.vasut@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201201030841.32402.oliver@neukum.org> (sfid-20120103_083956_114765_1560DD3A) Sender: linux-wireless-owner@vger.kernel.org List-ID: 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