* PATCH -ac -> -rmap 5/4
@ 2002-11-13 14:12 Rik van Riel
2002-11-13 14:51 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Rik van Riel @ 2002-11-13 14:12 UTC (permalink / raw)
To: Alan Cox; +Cc: Arjan van de Ven, linux-mm
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH -ac -> -rmap 5/4
2002-11-13 14:12 PATCH -ac -> -rmap 5/4 Rik van Riel
@ 2002-11-13 14:51 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2002-11-13 14:51 UTC (permalink / raw)
To: Rik van Riel; +Cc: Arjan van de Ven, linux-mm
On Wed, 2002-11-13 at 14:12, Rik van Riel wrote:
> Hi,
>
> this surprise patch (by arjan) adds a wmb() to the kswapd
> sleep path and is needed for some reason I've forgotten
> already
I'd like to know why. That looks fishy
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-13 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-13 14:12 PATCH -ac -> -rmap 5/4 Rik van Riel
2002-11-13 14:51 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox