Re: [PATCH] allocation looping + kswapd CPU cycles

Stephen C. Tweedie (sct@redhat.com)
Thu, 10 May 2001 20:52:04 +0100


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/