pre7-1: linux/mm/vmscan.c weirdness

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Sat Apr 29 2000 - 05:33:03 EST


That patch is strange:

diff -u v2.3.99-pre6/linux/mm/vmscan.c linux/mm/vmscan.c
--- v2.3.99-pre6/linux/mm/vmscan.c
+++ linux/mm/vmscan.c
@@ -387,8 +387,8 @@
      /* small processes are swapped out less */
- while ((mm->swap_cnt << 2 * (i + 1) < max_cnt))
- i++;
+ while ((mm->swap_cnt << 2 * (i + 1) < max_cnt)
+ && i++ < 10)
      mm->swap_cnt >>= i;

Isn't a semicolon missing after the while loop?

--
	Manfred

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST