Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754705Ab0ATVMk (ORCPT ); Wed, 20 Jan 2010 16:12:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754410Ab0ATVMj (ORCPT ); Wed, 20 Jan 2010 16:12:39 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:33751 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752995Ab0ATVMj (ORCPT ); Wed, 20 Jan 2010 16:12:39 -0500 From: "Rafael J. Wysocki" To: Oliver Neukum Subject: Re: [RFC][PATCH] PM: Force GFP_NOIO during suspend/resume (was: Re: [linux-pm] Memory allocations in .suspend became very unreliable) Date: Wed, 20 Jan 2010 22:13:23 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.33-rc4-rjw; KDE/4.3.3; x86_64; ; ) Cc: Maxim Levitsky , linux-pm@lists.linux-foundation.org, LKML , "linux-mm" , Andrew Morton , Benjamin Herrenschmidt References: <1263549544.3112.10.camel@maxim-laptop> <201001192137.35232.rjw@sisk.pl> <201001201505.41167.oliver@neukum.org> In-Reply-To: <201001201505.41167.oliver@neukum.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001202213.23373.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 27 On Wednesday 20 January 2010, Oliver Neukum wrote: > Am Dienstag, 19. Januar 2010 21:37:35 schrieb Rafael J. Wysocki: > > That said, Maxim reported that in his test case the mm subsystem apparently > > attempted to use I/O even if there was a plenty of free memory available and > > I'd like prevent that from happening. > > Hi, > > it seems to me that this is caused by the mm subsytem maintaing > a share of clean pages precisely so that GFP_NOIO will work. > Perhaps it is a good idea to > a) launder a number of pages if the system is about to be suspended > between the freezer and notifying drivers That was tried, didn't work. > b) set the ration of clean pages to dirty pages to 0 while suspending > the system. Patch, please? Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/