Swappiness is bullshit and easily undone by the priority field. Make the
vm actually obey swappiness except in absolute distress.

Signed-off-by: Con Kolivas <kernel@kolivas.org>

---
 mm/vmscan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.21/mm/vmscan.c
===================================================================
--- linux-2.6.21.orig/mm/vmscan.c	2007-06-14 16:05:00.000000000 +1000
+++ linux-2.6.21/mm/vmscan.c	2007-06-14 16:07:02.000000000 +1000
@@ -786,7 +786,7 @@
 		 * `distress' is a measure of how much trouble we're having
 		 * reclaiming pages.  0 -> no problems.  100 -> great trouble.
 		 */
-		distress = 100 >> min(zone->prev_priority, priority);
+		distress = (priority < 1 ? 100 : 0);
 
 		/*
 		 * The point of this algorithm is to decide when to start
