From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [PATCH] mm: disallow direct reclaim page writeback Date: Sun, 18 Apr 2010 21:32:38 -0700 Message-ID: <20100418213238.2e62eac7@infradead.org> References: <20100414155233.D153.A69D9226@jp.fujitsu.com> <20100414072830.GK2493@dastard> <20100414085132.GJ25756@csn.ul.ie> <20100415013436.GO2493@dastard> <20100415102837.GB10966@csn.ul.ie> <20100416041412.GY2493@dastard> <20100416151403.GM19264@csn.ul.ie> <20100417203239.dda79e88.akpm@linux-foundation.org> <20100419003556.GC2520@dastard> <20100418174944.7b9716ad@infradead.org> <20100419010805.GD2520@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Andrew Morton , Mel Gorman , KOSAKI Motohiro , Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org To: Dave Chinner Return-path: In-Reply-To: <20100419010805.GD2520@dastard> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 19 Apr 2010 11:08:05 +1000 Dave Chinner wrote: > > Maybe we need to do the background dirty writes a bit more > > aggressive... or play with heuristics where we get an adaptive > > timeout (say, if the file got closed by the last opener, then do a > > shorter timeout) > > Realistically, I'm concerned about preventing the worst case > behaviour from occurring - making the background writes more > agressive without preventing writeback in LRU order simply means it > will be harder to test the VM corner case that triggers these > writeout patterns... while I appreciate that the worst case should not be uber horrific... I care a LOT about getting the normal case right... and am willing to sacrifice the worst case for that.. (obviously not to infinity, it needs to be bounded) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org