lkml.org 
[lkml]   [2010]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/15] readahead: pagecache context based mmap read-around
On 02/23/2010 10:10 PM, Wu Fengguang wrote:
> Do mmap read-around when there are cached pages in the nearby 256KB
> (covered by one radix tree node).
>
> There is a failure case though: for a sequence of page faults at page
> index 64*i+1, i=1,2,3,..., this heuristic will keep doing pointless
> read-arounds. Hopefully the pattern won't appear in real workloads.
> Note that the readahead heuristic has similiar failure case.
>
> CC: Nick Piggin<npiggin@suse.de>
> Signed-off-by: Wu Fengguang<fengguang.wu@intel.com>

Acked-by: Rik van Riel <riel@redhat.com>



\
 
 \ /
  Last update: 2010-02-26 02:37    [from the cache]
©2003-2011 Jasper Spaans