Missing patch (was: buffers vs. pages vs. kernel speed)

Hubert Mantel (mantel@suse.de)
Thu, 12 Jun 1997 16:49:22 +0200 (MEST)


On Thu, 12 Jun 1997, Hubert Mantel wrote:

> On Thu, 12 Jun 1997, David S. Miller wrote:
>
> > Let's try this one... this has:

[...]

> With this patch on a pre-2.0.31-2 Kernel I tried to create the 1Gig
> filesystem on a 4MB machine. Until now I tried it three times and it
> failed twice ;-(

David, your patch is again missing it's activation:

------------------------------------------------------------------------
--- linux-pre-2.0.31-2-DaveM/mm/page_alloc.c Sat Aug 17 20:19:29 1996
+++ linux-pre-2.0.31-test/mm/page_alloc.c Thu Jun 12 16:29: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;
}
------------------------------------------------------------------------

After applying this, creation of filesystems with very small RAM seems to
work reliably (tried it 5 times until now; no debug output so far).

I'll start the stress testing now.

Hubert mantel@suse.de