[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FA0504D.60802@redhat.com>
Date: Tue, 01 May 2012 17:06:21 -0400
From: Rik van Riel <riel@...hat.com>
To: Johannes Weiner <hannes@...xchg.org>
CC: linux-mm@...ck.org, Andrea Arcangeli <aarcange@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Mel Gorman <mgorman@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Minchan Kim <minchan.kim@...il.com>,
Hugh Dickins <hughd@...gle.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 1/5] mm: readahead: move radix tree hole searching here
On 05/01/2012 04:41 AM, Johannes Weiner wrote:
> The readahead code searches the page cache for non-present pages, or
> holes, to get a picture of the area surrounding a fault e.g.
>
> For this it sufficed to rely on the radix tree definition of holes,
> which is "empty tree slot". This is about to change, though, because
> shadow page descriptors will be stored in the page cache when the real
> pages get evicted from memory.
>
> Fortunately, nobody outside the readahead code uses these functions
> and they have no internal knowledge of the radix tree structures, so
> just move them over to mm/readahead.c where they can later be adapted
> to handle the new definition of "page cache hole".
>
> Signed-off-by: Johannes Weiner<hannes@...xchg.org>
Reviewed-by: Rik van Riel <riel@...hat.com>
--
All rights reversed
--
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