[PATCH] Avoid !__GFP_IO allocations to eat from memory reservations

2001-06-20 Thread Marcelo Tosatti
Linus, I just read pre3<->pre4 diff and it seems you missed this patch... here it goes again. In pre3/4, GFP_BUFFER allocations can eat from the "emergency" memory reservations in case try_to_free_pages() fails for those allocations in __alloc_pages(). Here goes the (tested) patch to fix that

Re: [PATCH] Avoid !__GFP_IO allocations to eat from memory reservations

2001-06-14 Thread Daniel Phillips
On Thursday 14 June 2001 14:59, Marcelo Tosatti wrote: > --- linux/mm/page_alloc.c.origThu Jun 14 11:00:14 2001 > +++ linux/mm/page_alloc.c Thu Jun 14 11:32:56 2001 > @@ -453,6 +453,12 @@ > int progress = try_to_free_pages(gfp_mask); >

[PATCH] Avoid !__GFP_IO allocations to eat from memory reservations

2001-06-14 Thread Marcelo Tosatti
Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Linus, In pre3, GFP_BUFFER allocations can eat from the "emergency" memory reservations in case try_to_free_pages() fails for those allocations in __alloc_pages(). Here goes the (tested) patch to