[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <30805.1160773222@lwn.net>
Date: Fri, 13 Oct 2006 15:00:22 -0600
From: corbet@....net (Jonathan Corbet)
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH,RFC] Add __GFP_ZERO to GFP_LEVEL_MASK
Andrew Morton <akpm@...l.org> wrote:
> It would be a bit odd to pass __GFP_ZERO into the slab allocator. Slab
> doesn't need that hint: it has its own ways of initialising the memory.
>
> What is the callsite?
It's vmalloc_user(), which does this:
ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL);
jon
-
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