• Andrew Morton's avatar
    [PATCH] Improve mmap readaround · 99fb27c6
    Andrew Morton authored
    This tweaks the mmap read-ahead behaviour so that the prefaulting
    is largely pointless.
    
     - double the minimum readaround chunksize in page_cache_readaround().
    
     - when a seek is detected, collapse the window more slowly.
    99fb27c6
readahead.c 15.2 KB