Re: low memory buffer cachebug fix, need some testers...

Hubert Mantel (mantel@suse.de)
Mon, 9 Jun 1997 14:49:26 +0200 (MEST)


On Mon, 9 Jun 1997, Dr. Werner Fink wrote:

> > This should apply to any recent 2.0.3X kernel, I believe it should
> > help with the situations such as "my 4MB ram machine hangs when you
> > try to make a 9gb ext2 partition with mke2fs" and this sort of thing.

[...]

> --- /usr/src/linux/mm/page_alloc.c Sat Aug 17 20:19:29 1996
> +++ /tmp/page_alloc.c Mon Jun 9 13:30:16 1997
> @@ -214,7 +214,7 @@
> return 0;
> }
> restore_flags(flags);
> - if (priority != GFP_BUFFER && try_to_free_page(priority, dma, 1))
> + if (try_to_free_page(priority, dma, 1))
> goto repeat;
> return 0;
> }
>
> Without this change your patch may not have any effect on the swap behaviour.

I think the same. I repeated my tests with Werner's additional patch and
was able to do a complete installation on a 4MB machine (no problems
creating big filesystems). At the moment the system is under stress and
quite stable. We will do further tests on additional machines...

> Werner

Hubert mantel@suse.de