Re: [PATCH 06/19] Check only once if the zonelist is suitable for the allocation

Christoph Lameter
2009-02-24T17:33:31Z

On Tue, 24 Feb 2009, Mel Gorman wrote:

> It is possible with __GFP_THISNODE that no zones are suitable. This
> patch makes sure the check is only made once.

GFP_THISNODE is only a performance factor if SLAB is the slab allocator.
The restart logic in __alloc_pages_internal() is mainly used by OOM
processing.

But the patch looks okay regardless...

Reviewed-by: Christoph Lameter <cl@linux-foundation.org>