patch-1.3.88 linux/mm/filemap.c

Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.87/linux/mm/filemap.c linux/mm/filemap.c
@@ -329,7 +329,7 @@
 	if (PageLocked(page)) {
 		max_ahead = filp->f_ramax;
 		rapos = ppos;
-/*		try_async = 1  */ /* Seems questionnable */
+/*		try_async = 1  */ /* Seems questionable */
 	}
 /*
  * The current page is not locked
@@ -435,10 +435,10 @@
 
 	pos = filp->f_pos;
 /*
- * Dont beleive f_reada
+ * Dont believe f_reada
  * --------------------
  * f_reada is set to 0 by seek operations.
- * If we beleive f_reada, small seek ops break asynchronous read-ahead.
+ * If we believe f_reada, small seek ops break asynchronous read-ahead.
  * That may be quite bad for small seeks or rewrites operations.
  * I prefer to check if the current position is inside the previous read-ahead
  * window.
@@ -461,10 +461,10 @@
 
 /*
  * Now f_reada = 1 means that asynchronous read-ahead is the good tactics.
- * Will try asynchrous read-ahead as soon as possible.
+ * Will try asynchronous read-ahead as soon as possible.
  * Double the max read ahead size each time.
- *   That euristic avoid to do some large IO for files that are not really
- *   accessed sequentialy.
+ *   That heuristic avoid to do some large IO for files that are not really
+ *   accessed sequentially.
  */
 	if (filp->f_reada) {
 		try_async = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this