From: Tejun Heo <tj@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] percpu: Fix memory leak from percpu_init_late()
Date: Thu, 19 Aug 2010 16:48:25 +0200 [thread overview]
Message-ID: <4C6D4439.3080007@kernel.org> (raw)
In-Reply-To: <20100819144956.27058.69126.stgit@e102109-lin.cambridge.arm.com>
On 08/19/2010 04:49 PM, Catalin Marinas wrote:
> The chunk->map memory block allocated in percpu_init_late() (as of
> commit 099a19d9) is later overridden in pcpu_extend_area_map(). The
> patch frees this existing block in the latter function. Found by
> kmemleak.
>
> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Tejun Heo <tj@kernel.org>
Patch already pending
http://git.kernel.org/?p=linux/kernel/git/tj/percpu.git;a=commit;h=206c53730b8b1707becca7a868ea8d14ebee24d2
Thanks.
--
tejun
next prev parent reply other threads:[~2010-08-19 14:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 14:49 [PATCH] percpu: Fix memory leak from percpu_init_late() Catalin Marinas
2010-08-19 14:48 ` Tejun Heo [this message]
2010-08-19 15:59 ` Catalin Marinas
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=4C6D4439.3080007@kernel.org \
--to=tj@kernel.org \
--cc=catalin.marinas@arm.com \
--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