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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Wu Fengguang <[email protected]>
---


--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux