Re: [PATCH] allocation looping + kswapd CPU cycles

Stephen C. Tweedie
2001-05-10T19:53:00Z

Hi,

On Thu, May 10, 2001 at 01:43:46PM -0300, Marcelo Tosatti wrote:

> No. __GFP_FAIL can to try to reclaim pages from inactive clean.
>
> We just want to avoid __GFP_FAIL allocations from going to
> try_to_free_pages().

Why? __GFP_FAIL is only useful as an indication that the caller has
some magic mechanism for coping with failure. There's no other
information passed, so a brief call to try_to_free_pages is quite
appropriate.

--Stephen