This is a follow-up patch for "mm: map few pages around fault address if they are in page cache" We use the generic filemap_map_pages as ->map_pages in shmem/tmpfs. Please consider applying. ========================================================================= Below is just some simple experiment numbers from this patch, let me know if you would like more: Tested on Xeon machine with 64GiB of RAM, using the current default fault order 4. Sequential access 8GiB file Baseline with-patch 1 thread minor fault 205 101 time, seconds 7.94 7.82 Random access 8GiB file Baseline with-patch 1 thread minor fault 724 623 time, seconds 9.75 9.84 Ning Qu (1): mm: implement ->map_pages for shmem/tmpfs mm/shmem.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.0.279.gdc9e3eb -- 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>