[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707231615310.427@schroedinger.engr.sgi.com>
Date: Mon, 23 Jul 2007 16:17:13 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
cc: Mel Gorman <mel@...net.ie>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Daniel Phillips <phillips@...gle.com>,
linux-mm <linux-mm@...ck.org>
Subject: Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
On Mon, 23 Jul 2007, Peter Zijlstra wrote:
> ---
> Daniel recently spotted that __GFP_ZERO is not (and has never been)
> part of GFP_LEVEL_MASK. I could not find a reason for this in the
> original patch: 3977971c7f09ce08ed1b8d7a67b2098eb732e4cd in the -bk
> tree.
>
> This of course is in stark contradiction with the comment accompanying
> GFP_LEVEL_MASK.
NACK.
The effect that this patch will have is that __GFP_ZERO is passed through
to the page allocator which will needlessly zero pages. GFP_LEVEL_MASK is
used to filter out the flags that are to be passed to the page allocator.
__GFP_ZERO is not passed on but handled by the slab allocators.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists