From: Christoph Lameter <cl@linux-foundation.org>
To: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
linux-kernel@vger.kernel.org, Matt Mackall <mpm@selenic.com>,
Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: [PATCH] Do not pass the SLAB flags as GFP in slob kmem_cache_create
Date: Wed, 10 Dec 2008 14:11:23 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.4.64.0812101411020.15262@quilx.com> (raw)
In-Reply-To: <20081210193421.GA2215@localhost>
On Wed, 10 Dec 2008, Cyrill Gorcunov wrote:
> this would make the following line in slob_alloc
>
> ...
> if (unlikely((gfp & __GFP_ZERO) && b))
> memset(b, 0, size);
> ...
>
> useless. Not sure if it will be good :)
No. GFP_ZERO is set when kmalloc etc is called. Its not set on
kmem_cache_create.
next prev parent reply other threads:[~2008-12-10 20:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 17:36 Catalin Marinas
2008-12-10 19:34 ` Cyrill Gorcunov
2008-12-10 19:57 ` Matt Mackall
2008-12-10 20:06 ` Cyrill Gorcunov
2008-12-10 20:11 ` Christoph Lameter [this message]
2008-12-10 20:23 ` Cyrill Gorcunov
2008-12-10 19:58 ` Matt Mackall
2008-12-11 9:31 ` Pekka Enberg
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=Pine.LNX.4.64.0812101411020.15262@quilx.com \
--to=cl@linux-foundation.org \
--cc=catalin.marinas@arm.com \
--cc=gorcunov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=penberg@cs.helsinki.fi \
/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®