Re: [PATCH] add PF_MEMALLOC to __alloc_pages()

Rik van Riel (riel@conectiva.com.br)
Thu, 4 Jan 2001 11:34:57 -0200 (BRDT)


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/