Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758790AbXFUQ4U (ORCPT ); Thu, 21 Jun 2007 12:56:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756071AbXFUQ4J (ORCPT ); Thu, 21 Jun 2007 12:56:09 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:34132 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755310AbXFUQ4I (ORCPT ); Thu, 21 Jun 2007 12:56:08 -0400 Subject: Re: Change in default vm_dirty_ratio From: Peter Zijlstra To: Mark Lord Cc: Andrew Morton , davej@redhat.com, tim.c.chen@linux.intel.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org In-Reply-To: <467AAD3C.8020200@rtr.ca> References: <1182201271.4883.22.camel@localhost.localdomain> <20070618164711.9de1c38e.akpm@linux-foundation.org> <20070620042434.GC12096@redhat.com> <20070619214407.dfff0ca6.akpm@linux-foundation.org> <1182328536.21117.24.camel@twins> <20070620015826.03f1d71a.akpm@linux-foundation.org> <467AAD3C.8020200@rtr.ca> Content-Type: text/plain Date: Thu, 21 Jun 2007 18:55:53 +0200 Message-Id: <1182444953.21117.161.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 748 Lines: 20 On Thu, 2007-06-21 at 12:54 -0400, Mark Lord wrote: > Andrew Morton wrote: > > > > What do we actually want the kernel to *do*? Stated in terms of "when the > > dirty memory state is A, do B" and "when userspace does C, the kernel should > > do D". > > When we have dirty pages awaiting write-out, > and the write-out device is completely idle, > then we should be writing them out. > > That's the easy bit taken care of. ;) Unless we're in laptop mode, in that case we want to procrastinate.. :-) - 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/