From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [RFC][PATCH -mm 1/2] swsusp: Free more memory Date: Sun, 22 Apr 2007 12:55:23 +0000 Message-ID: <20070422125523.GA4236@ucw.cz> References: <200704220002.37083.rjw@sisk.pl> <200704220005.39942.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200704220005.39942.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: pm list , Nigel Cunningham List-Id: linux-pm@vger.kernel.org Hi! > Move the definition of PAGES_FOR_IO to kernel/power/power.h and introduce > SPARE_PAGES representing the number of pages that should be freed by the > swsusp's memory shrinker in addition to PAGES_FOR_IO so that device drivers can > allocate some memory (up to 1 MB total) in their .suspend() routines without > causing the suspend to fail. > > Signed-off-by: Rafael J. Wysocki ACK. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html