The patch titled readahead: no RA_FLAG_EOF on single page file has been removed from the -mm tree. Its filename is readahead-state-based-method-routines-no-ra_flag_eof-on-single-page-file.patch This patch was dropped because it was folded into readahead-state-based-method-routines.patch ------------------------------------------------------ Subject: readahead: no RA_FLAG_EOF on single page file From: Wu Fengguang <wfg@xxxxxxxxxxxxxxxx> Dot not set RA_FLAG_EOF on single page files. readahead_close() will be called if RA_FLAG_EOF is there on file close. It detects readahead hit/miss, and adjust ra_expected_bytes correspondingly. Single page files are uninteresting for it. Since near 40% desktop files are <= 4k, this patch can reduce many useless readahead_close() invocations. Signed-off-by: Wu Fengguang <wfg@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/readahead.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN mm/readahead.c~readahead-state-based-method-routines-no-ra_flag_eof-on-single-page-file mm/readahead.c --- devel/mm/readahead.c~readahead-state-based-method-routines-no-ra_flag_eof-on-single-page-file 2006-06-09 01:22:42.000000000 -0700 +++ devel-akpm/mm/readahead.c 2006-06-09 01:22:42.000000000 -0700 @@ -966,7 +966,8 @@ static int ra_dispatch(struct file_ra_st ra->readahead_index = eof_index; if (ra->lookahead_index > eof_index) ra->lookahead_index = eof_index; - ra->flags |= RA_FLAG_EOF; + if (eof_index > 1) + ra->flags |= RA_FLAG_EOF; } /* Disable look-ahead for loopback file. */ _ Patches currently in -mm which might be from wfg@xxxxxxxxxxxxxxxx are origin.patch readahead-kconfig-options.patch radixtree-introduce-radix_tree_scan_hole.patch mm-introduce-probe_page.patch mm-introduce-pg_readahead.patch readahead-add-look-ahead-support-to-__do_page_cache_readahead.patch readahead-delay-page-release-in-do_generic_mapping_read.patch readahead-insert-cond_resched-calls.patch readahead-minmax_ra_pages.patch readahead-events-accounting.patch readahead-rescue_pages.patch readahead-sysctl-parameters.patch readahead-sysctl-parameters-fix.patch readahead-min-max-sizes.patch readahead-state-based-method-aging-accounting.patch readahead-state-based-method-routines.patch readahead-state-based-method-routines-no-ra_flag_eof-on-single-page-file.patch readahead-state-based-method.patch readahead-state-based-method-readahead-state-based-method-stand-alone-size-limit-code.patch readahead-state-based-method-aging-accounting-readahead-kconfig-option-readahead_smooth_aging.patch readahead-context-based-method.patch readahead-context-based-method-apply-stream_shift-size-limits-to-contexta-method.patch readahead-context-based-method-fix-remain-counting.patch readahead-context-based-method-slow-start.patch readahead-initial-method-guiding-sizes.patch readahead-initial-method-guiding-sizes-aggressive-initial-sizes.patch readahead-initial-method-thrashing-guard-size.patch readahead-initial-method-expected-read-size.patch readahead-initial-method-user-recommended-size.patch readahead-initial-method.patch readahead-backward-prefetching-method.patch readahead-backward-prefetching-method-add-use-case-comment.patch readahead-seeking-reads-method.patch readahead-thrashing-recovery-method.patch readahead-call-scheme.patch readahead-call-scheme-fix-fastcall.patch readahead-call-scheme-no-fastcall-for-readahead_cache_hit.patch readahead-call-scheme-no-fastcall-for-readahead_cache_hit-kconfig-option-readahead_hit_feedback.patch readahead-laptop-mode.patch readahead-loop-case.patch readahead-nfsd-case.patch readahead-turn-on-by-default.patch readahead-debug-radix-tree-new-functions.patch readahead-debug-traces-showing-accessed-file-names.patch readahead-debug-traces-showing-read-patterns.patch readahead-remove-size-limit-on-read_ahead_kb.patch readahead-backward-prefetching-method-fix.patch readahead-remove-the-size-limit-of-max_sectors_kb-on-read_ahead_kb.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html