On 08/30/2012 06:36 AM, Shaohua Li wrote:
Interesting is the randwrite harddisk test is improved too. This might be because swapin readahead need allocate extra memory, which further tights memory pressure, so more swapout/swapin. This patch depends on readahead-fault-retry-breaks-mmap-file-read-random-detection.patch V2->V3: move swapra_miss to 'struct anon_vma' as suggested by Konstantin. V1->V2: 1. Move the swap readahead accounting to separate functions as suggested by Riel. 2. Enable the logic only with CONFIG_SWAP enabled as suggested by Minchan. Signed-off-by: Shaohua Li <shli@xxxxxxxxxxxx>
Acked-by: Rik van Riel <riel@xxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>