From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 16 Jan 2007 12:10:38 -0800 (PST) From: Christoph Lameter Subject: Re: [RFC 0/8] Cpuset aware writeback In-Reply-To: <1168933090.22935.30.camel@twins> Message-ID: References: <20070116054743.15358.77287.sendpatchset@schroedinger.engr.sgi.com> <1168933090.22935.30.camel@twins> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: akpm@osdl.org, Paul Menage , linux-kernel@vger.kernel.org, Nick Piggin , linux-mm@kvack.org, Andi Kleen , Paul Jackson , Dave Chinner List-ID: On Tue, 16 Jan 2007, Peter Zijlstra wrote: > > B. We add a new counter NR_UNRECLAIMABLE that is subtracted > > from the available pages in a node. This allows us to > > accurately calculate the dirty ratio even if large portions > > of the node have been allocated for huge pages or for > > slab pages. > > What about mlock'ed pages? mlocked pages can be dirty and written back right? So for the dirty ratio calculation they do not play a role. We may need a separate counter for mlocked pages if they are to be considered for other decisions in the VM. > Otherwise it all looks good. > > Acked-by: Peter Zijlstra Thanks. -- 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