• Andrew Morton's avatar
    [PATCH] limit pinned memory due to readahead · 234931ab
    Andrew Morton authored
    readahead allocates all the pages before starting I/O.  Potentially bad
    if someone is performing huge reads with madvise or sys_readahead().
    
    So the patch just busts that up into two-megabyte units.
    234931ab
readahead.c 13.6 KB