Re: Memory leak in 2.0.33 ??

Dr. Werner Fink (
Tue, 23 Dec 1997 00:15:12 +0100

> Hi all...
> It looks like the swap cache bug. I have posted a fix for it many times
> to this list and it was even fixed in pre-2.0.31-2, but things look bad.
> Linus probably decided to keep the bug forever in the kernel. I suppose,
> it is still present in the 2.1.xx kernels... If you have ram >= swap,
> swap > 0 - be ready for crash!
> You can find the fix (for older kernel, but it should be applicable to the
> newer too) on Linux Mama (
> Krzysztof Strasburger

Hmmm ... the win of caching pages recently swapped out should not be breaked
by handle this cached pages as free pages.