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

PATCH -ac -> -rmap 5/4



Hi,

this surprise patch (by arjan) adds a wmb() to the kswapd
sleep path and is needed for some reason I've forgotten
already

please apply,

Rik
-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://distro.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>


--- linux-2.4.19/mm/vmscan.c	2002-11-13 09:27:15.000000000 -0200
+++ linux-2.4-rmap/mm/vmscan.c	2002-11-13 12:10:46.000000000 -0200
@@ -848,6 +848,7 @@
 	set_current_state(TASK_UNINTERRUPTIBLE);
 	schedule_timeout(HZ / 4);
 	kswapd_overloaded = 0;
+	wmb();
 	return;
 }


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/