Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750910AbXBCR7i (ORCPT ); Sat, 3 Feb 2007 12:59:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750944AbXBCR7i (ORCPT ); Sat, 3 Feb 2007 12:59:38 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:47953 "EHLO omx2.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750907AbXBCR7h (ORCPT ); Sat, 3 Feb 2007 12:59:37 -0500 Date: Sat, 3 Feb 2007 09:59:20 -0800 (PST) From: Christoph Lameter To: "Martin J. Bligh" cc: Christoph Hellwig , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Nick Piggin , KAMEZAWA Hiroyuki , Rik van Riel Subject: Re: [RFC] Tracking mlocked pages and moving them off the LRU In-Reply-To: <45C4ABDF.9050701@mbligh.org> Message-ID: References: <20070203101628.GB28806@infradead.org> <45C4ABDF.9050701@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 Content-Length: 810 Lines: 20 On Sat, 3 Feb 2007, Martin J. Bligh wrote: > Doesn't matter - you can just do it lazily. If you find a page that is > locked, move it to the locked list. when unlocking a page you *always* > move it back to the normal list. If someone else is still locking it, > we'll move it back to the lock list on next reclaim pass. Sounds similar to what Andrew is proposing. > I have a half-finished patch from 6 months ago that does this, but never > found time to complete it ;-( Could I see that patch? Could have some good approaches in there that would be useful. - 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/