From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 18 Jul 2006 06:59:22 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH] mm: inactive-clean list In-Reply-To: <44BCE86A.4030602@mbligh.org> Message-ID: References: <1153167857.31891.78.camel@lappy> <1153224998.2041.15.camel@lappy> <44BCE86A.4030602@mbligh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "Martin J. Bligh" Cc: Peter Zijlstra , linux-mm , Linus Torvalds , Andrew Morton , linux-kernel List-ID: On Tue, 18 Jul 2006, Martin J. Bligh wrote: > Someone remind me why we can't remove the memlocked pages from the LRU > again? Apart from needing a refcount of how many times they're memlocked > (or we just shove them back whenever they're unlocked, and let it fall > out again when we walk the list, but that doesn't fix the accounting > problem). We simply do not unmap memlocked pages (see try_to_unmap). And therefore they are not reclaimable. -- 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