[PATCH] limit pinned memory due to readahead
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.
Showing
Please register or sign in to comment