Re: possible leak in kernel 2.6.10-ac12

From: Maciej Soltysiak
Date: Thu Feb 17 2005 - 04:31:44 EST


Hello Pedro,

Thursday, February 17, 2005, 12:28:15 AM, you wrote:

> boot. It came to a point that it started swapping and the swap usage too
> started to grow linearly.
I had the same with swap being eaten especially by perl apps like qmail-scanner

I think this helps:
--- a/mm/vmscan.c 2004-12-24 13:36:18 -08:00
+++ b/mm/vmscan.c 2004-12-24 13:36:18 -08:00
@@ -675,6 +674,7 @@
}
pgscanned++;
}
+ zone->pages_scanned += pgscanned;
zone->nr_active -= pgmoved;
spin_unlock_irq(&zone->lru_lock);

This patchlet is at:
http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.10.bz2;z=4918
This changeset contains other patches, you need only one.

2.6.11 will have it fixed.

Regards,
Maciej Soltysiak


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