[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0702201015590.14497@schroedinger.engr.sgi.com>
Date: Tue, 20 Feb 2007 10:20:06 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Rik van Riel <riel@...hat.com>
cc: linux-kernel <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: Re: [PATCH] free swap space when (re)activating page
On Tue, 20 Feb 2007, Rik van Riel wrote:
> Nono, I try to remove the swap space occupied by pages that
> go back onto the active list. Regardless of whether they
> were already there, or whether they started out on the
> inactive list.
Ok then do it for all pages that go back not just for those leftover from
the moving of pages to the inactive list (why would you move those???)
> Stripping the swap space of the pages that are going to
> the inactive list makes less sense IMHO, because those
> pages are candidates for swapping out - meaning those
> should keep the space.
Just trying to figure out what your patch does there and it does not make
much sense to me so far.
Maybe the hunk does apply in a different location than I thought. If you
do that in the loop over the pages on active list then it would make
sense. But in that case you need another piece of it doing the same to the
pages that are released at the end of shrink_active_list().
-
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