From: corbet@lwn.net (Jonathan Corbet)
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH,RFC] Add __GFP_ZERO to GFP_LEVEL_MASK
Date: Fri, 13 Oct 2006 15:00:22 -0600 [thread overview]
Message-ID: <30805.1160773222@lwn.net> (raw)
In-Reply-To: Your message of "Fri, 13 Oct 2006 13:46:35 PDT." <20061013134635.a983e4d7.akpm@osdl.org>
Andrew Morton <akpm@osdl.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
next prev parent reply other threads:[~2006-10-13 21:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 20:25 Jonathan Corbet
2006-10-13 20:46 ` Andrew Morton
2006-10-13 21:00 ` Jonathan Corbet [this message]
2006-10-13 21:31 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30805.1160773222@lwn.net \
--to=corbet@lwn.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®