From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932213AbWGRN7d (ORCPT ); Tue, 18 Jul 2006 09:59:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932217AbWGRN7c (ORCPT ); Tue, 18 Jul 2006 09:59:32 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:53974 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S932213AbWGRN7c (ORCPT ); Tue, 18 Jul 2006 09:59:32 -0400 Date: Tue, 18 Jul 2006 06:59:22 -0700 (PDT) From: Christoph Lameter To: "Martin J. Bligh" cc: Peter Zijlstra , linux-mm , Linus Torvalds , Andrew Morton , linux-kernel 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: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.