Re: [PATCH] add PF_MEMALLOC to __alloc_pages()

2001-01-04 Thread Rik van Riel
On 4 Jan 2001, Zlatko Calusic wrote: > Rik van Riel <[EMAIL PROTECTED]> writes: > > > + current->flags |= PF_MEMALLOC; > > try_to_free_pages(gfp_mask); > > + current->flags &= ~PF_MEMALLOC; > > Hm, try_to_free_pages already sets the PF_MEMA

Re: [PATCH] add PF_MEMALLOC to __alloc_pages()

2001-01-03 Thread Zlatko Calusic
Rik van Riel <[EMAIL PROTECTED]> writes: > Hi Linus, Alan, Mike, > > the following patch sets PF_MEMALLOC for the current task > in __alloc_pages() to avoid infinite recursion when we try > to free memory from __alloc_pages(). > > Please apply the patch below, which fixes this (embarrasing) > b

[PATCH] add PF_MEMALLOC to __alloc_pages()

2001-01-03 Thread Rik van Riel
Hi Linus, Alan, Mike, the following patch sets PF_MEMALLOC for the current task in __alloc_pages() to avoid infinite recursion when we try to free memory from __alloc_pages(). Please apply the patch below, which fixes this (embarrasing) bug... regards, Rik -- Hollywood goes for world dumbinati