Messages in this thread | | | Date | Fri, 16 Mar 2007 09:20:34 -0500 | From | Anton Blanchard <> | Subject | Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed |
| |
Hi,
> I guess the downside to this is if a reader is reading a large file, or > several files, sequentially with a small read size (smaller than > PAGE_SIZE), the pages will be marked active after just one read pass. > My gut says the benefits of this patch outweigh the cost. I would > expect real-world backup apps, etc. to read at least PAGE_SIZE.
PAGE_SIZE being 8k on sparc, 16-64k on ia64 and potentially 64kb on powerpc :)
Id expect a large percentage of files to be below that size.
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |