[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0702030931460.5355@schroedinger.engr.sgi.com>
Date: Sat, 3 Feb 2007 09:33:01 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Christoph Hellwig <hch@...radead.org>
cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Nick Piggin <nickpiggin@...oo.com.au>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Rik van Riel <riel@...hat.com>
Subject: Re: [RFC] Tracking mlocked pages and moving them off the LRU
On Sat, 3 Feb 2007, Christoph Hellwig wrote:
> This patch seems to not handle the cases where more than one process mlocks
> a page and you really need a pincount in the page to not release it before
> all processes have munlock it or died. I did a similar patch a while
> ago and tried to handle it by overloading the lru lists pointers with
> a pincount, but at some point I gave up because I couldn't get that part
> right.
It doees handle that case. Before PageMlocked is cleared for a page we
check for vmas referencing the page that have VM_LOCKED set. That logic
makes the patch so big.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists