mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] percpu: Fix memory leak from percpu_init_late()
Date: Thu, 19 Aug 2010 16:59:14 +0100	[thread overview]
Message-ID: <1282233554.20948.8.camel@e102109-lin.cambridge.arm.com> (raw)
In-Reply-To: <4C6D4439.3080007@kernel.org>

On Thu, 2010-08-19 at 15:48 +0100, Tejun Heo wrote:
> 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

Great, thanks, I'm dropping mine.

-- 
Catalin


      reply	other threads:[~2010-08-19 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 14:49 Catalin Marinas
2010-08-19 14:48 ` Tejun Heo
2010-08-19 15:59   ` Catalin Marinas [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=1282233554.20948.8.camel@e102109-lin.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@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

all inboxes | Powered by JetHome®