From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: "Artem B. Bityutskiy" <dedekind@yandex.ru>
Cc: Linus Torvalds <torvalds@osdl.org>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [MTD] kmalloc + memzero -> kzalloc conversion
Date: Sun, 2 Oct 2005 14:07:48 +0200 [thread overview]
Message-ID: <20051002120748.GA10697@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <433E432B.7010406@yandex.ru>
On Sat, 1 October 2005 12:04:59 +0400, Artem B. Bityutskiy wrote:
> Deepak Saxena wrote:
> >I see it more as an API usage cleanup then a "fix" of any sort.
> >
> Well, actually it may be helpful in only future, for example, if it is
> known that the allocated memory is zero-filled already, memzero() may be
> avoided at all.
Even today, kzalloc() takes less code than kmalloc() + memset().
Shrinks your binary size by a tiny amount.
Jörn
--
Mundie uses a textbook tactic of manipulation: start with some
reasonable talk, and lead the audience to an unreasonable conclusion.
-- Bruce Perens
next prev parent reply other threads:[~2005-10-02 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-01 5:00 [PATCH] [MTD] kmalloc + memzero -> kzalloc conversion Deepak Saxena
2005-10-01 7:46 ` Artem B. Bityutskiy
2005-10-01 8:00 ` Deepak Saxena
2005-10-01 8:04 ` Artem B. Bityutskiy
2005-10-02 12:07 ` Jörn Engel [this message]
2005-10-03 15:57 ` Christoph Lameter
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=20051002120748.GA10697@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=dedekind@yandex.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=torvalds@osdl.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