Messages in this thread |  | | Date | Wed, 5 Oct 2016 11:55:58 -0400 | From | Tejun Heo <> | 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@htc.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
|  |