Re: [PATCH] percpu: Fix memory leak from percpu_init_late()

From: Catalin Marinas
Date: Thu Aug 19 2010 - 11:59:25 EST


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@xxxxxxx>
> > Cc: Tejun Heo <tj@xxxxxxxxxx>
>
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/