[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161005155558.GE26977@htj.duckdns.org>
Date: Wed, 5 Oct 2016 11:55:58 -0400
From: Tejun Heo <tj@...nel.org>
To: zijun_hu <zijun_hu@...o.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, zijun_hu@....com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org, cl@...ux.com
Subject: Re: [RFC PATCH v3 2/2] mm/percpu.c: fix potential memory leakage for
pcpu_embed_first_chunk()
On Wed, Oct 05, 2016 at 09:30:24PM +0800, zijun_hu wrote:
> From: zijun_hu <zijun_hu@....com>
>
> in order to ensure the percpu group areas within a chunk aren't
> distributed too sparsely, pcpu_embed_first_chunk() goes to error handling
> path when a chunk spans over 3/4 VMALLOC area, however, during the error
> handling, it forget to free the memory allocated for all percpu groups by
> going to label @out_free other than @out_free_areas.
Applied 1-2 to percpu/for-4.9.
Thanks for the persistence!
--
tejun
Powered by blists - more mailing lists