From: Jens Axboe <axboe@kernel.dk>
To: Philippe De Muyter <phdm@macqel.be>
Cc: linux-kernel@vger.kernel.org, Matt Domsch <Matt_Domsch@dell.com>,
Panagiotis Issaris <takis@issaris.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] partitions/efi.c: replace useless kzalloc's by kmalloc's
Date: Tue, 30 Apr 2013 08:34:01 +0200 [thread overview]
Message-ID: <20130430063401.GJ9563@kernel.dk> (raw)
In-Reply-To: <1367269218-17056-1-git-send-email-phdm@macqel.be>
On Mon, Apr 29 2013, Philippe De Muyter wrote:
> In alloc_read_gpt_entries and alloc_read_gpt_header, the kzalloc'ated
> zones are either totally overwritten by the following read_lba call,
> or freed. As kmalloc is cheaper than kzalloc, use kmalloc.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2013-04-30 6:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-29 21:00 [PATCH] partitions/efi.c: replace useless kzalloc's by kmalloc's Philippe De Muyter
2013-04-30 6:34 ` Jens Axboe [this message]
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=20130430063401.GJ9563@kernel.dk \
--to=axboe@kernel.dk \
--cc=Matt_Domsch@dell.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phdm@macqel.be \
--cc=takis@issaris.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.