Re: [RFC PATCH v3 2/2] mm/percpu.c: fix potential memory leakage for pcpu_embed_first_chunk()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 05, 2016 at 09:30:24PM +0800, zijun_hu wrote:
> From: zijun_hu <zijun_hu@xxxxxxx>
> 
> 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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]