Re: [PATCH] add PF_MEMALLOC to __alloc_pages()

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Jan 04 2001 - 08:34:57 EST


On 4 Jan 2001, Zlatko Calusic wrote:
> Rik van Riel <riel@conectiva.com.br> writes:
>
> > + current->flags |= PF_MEMALLOC;
> > try_to_free_pages(gfp_mask);
> > + current->flags &= ~PF_MEMALLOC;
>
> Hm, try_to_free_pages already sets the PF_MEMALLOC flag!

Yes. Linus already pointed out this error to me
yesterday (and his latest tree should be fine).

regards,

Rik

--
Hollywood goes for world dumbination,
	Trailer at 11.

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:18 EST