From: Roland Dreier <rolandd@cisco.com>
To: Andrew Morton <akpm@osdl.org>
Cc: James Morris <jmorris@namei.org>,
linux-kernel@vger.kernel.org, sds@epoch.ncsc.mil
Subject: Re: [PATCH] SELinux - convert to kzalloc
Date: Tue, 13 Sep 2005 18:43:48 -0700 [thread overview]
Message-ID: <52y8602zl7.fsf@cisco.com> (raw)
In-Reply-To: <20050913120707.74a19800.akpm@osdl.org> (Andrew Morton's message of "Tue, 13 Sep 2005 12:07:07 -0700")
Andrew> That's a nice size reduction. If we had
Andrew> kzalloc_gfp_kernel(size_t) we could drop an argument and
Andrew> save even more, but I suspect Linus would come after me
Andrew> with a cattle prod.
Could one make kzalloc() an inline and do some __builtin_constant_p()
trickery on the flags parameter to get the same effect?
I'll give it a try and see what happens.
- R.
next prev parent reply other threads:[~2005-09-14 1:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 15:18 [PATCH] SELinux - convert to kzalloc James Morris
2005-09-13 19:07 ` Andrew Morton
2005-09-13 20:37 ` James Morris
2005-09-14 1:43 ` Roland Dreier [this message]
2005-09-14 5:09 ` [PATCH] Create __kzalloc_gfp_kernel() Roland Dreier
2005-09-14 5:35 ` Andrew Morton
2005-09-14 18:39 ` [PATCH] Move GFP_KERNEL use out of line to shrink text Roland Dreier
2005-09-15 5:13 ` Denis Vlasenko
2005-09-15 11:42 ` Paulo Marques
2005-09-14 5:06 ` [PATCH] SELinux - convert to kzalloc Denis Vlasenko
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=52y8602zl7.fsf@cisco.com \
--to=rolandd@cisco.com \
--cc=akpm@osdl.org \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@epoch.ncsc.mil \
/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