Re: [PATCH] free swap space when (re)activating page

From: Rik van Riel
Date: Thu Feb 22 2007 - 22:34:53 EST

Bodo Eggert wrote:
Rik van Riel <riel@xxxxxxxxxx> wrote:

+++ linux-2.6.20.noarch/mm/swap.c 2007-02-20 06:44:17.000000000 -0500
@@ -420,6 +420,26 @@ void pagevec_strip(struct pagevec *pvec)

+ if (printk_ratelimit())
+ printk("kswapd freed a swap space\n");


1) This message is a debug message! You forgot to set the printk level.

Doh, I forgot to cut it out of the patch when I fixed it
according to Christoph's hint.

This chunk should be removed from the patch...

Andrew, I'll send you a new one tomorrow morning.

Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at