[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070307105035.5f5b31d4.akpm@linux-foundation.org>
Date: Wed, 7 Mar 2007 10:50:35 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Pádraig Brady <P@...igBrady.com>
Cc: bert hubert <bert.hubert@...herlabs.nl>,
Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: userspace pagecache management tool
On Wed, 07 Mar 2007 11:39:02 +0000 Pádraig Brady <P@...igBrady.com> wrote:
> Andrew Morton wrote:
> > On Tue, 06 Mar 2007 12:10:49 +0000
> > P__draig Brady <P@...igBrady.com> wrote:
> >> Perhaps one could possibly just evict pages with _mapcount==0 ?
> >
> > That is the present fadvise(FADV_DONTNEED) behaviour.
>
> Ah right. It doesn't invalidate page_mapped() pages.
yup
> If that means it doesn't invalidate pages previously cached
> by other processes, then great.
It will do that. This is why I point out that this userspace tool
could (easily) be enhanced to not invalidate pages which were
in pagecache prior to their being read by the managed application.
-
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