[patch 4/4] readahead: backward prefetching method - add use case comment

From: Wu Fengguang
Date: Tue May 30 2006 - 04:46:47 EST


Backward prefetching is vital to structural analysis and some other
scientific applications. Comment this use case.

Signed-off-by: Wu Fengguang <wfg@xxxxxxxxxxxxxxxx>
---


--- linux-2.6.17-rc4-mm3.orig/mm/readahead.c
+++ linux-2.6.17-rc4-mm3/mm/readahead.c
@@ -1540,6 +1540,8 @@ initial_readahead(struct address_space *
* Backward prefetching.
*
* No look-ahead and thrashing safety guard: should be unnecessary.
+ *
+ * Important for certain scientific arenas(i.e. structural analysis).
*/
static int
try_read_backward(struct file_ra_state *ra, pgoff_t begin_index,

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/