[PATCH 1/5] workqueue: fix memory leak in wq_numa_init()

2014-12-12 Thread Lai Jiangshan
wq_numa_init() will quit directly on some bonkers cases without freeing the memory. Add the missing cleanup code. Cc: Tejun Heo Cc: Yasuaki Ishimatsu Cc: "Gu, Zheng" Cc: tangchen Cc: Hiroyuki KAMEZAWA Signed-off-by: Lai Jiangshan --- kernel/workqueue.c |3 +++ 1 files changed, 3 insert

Re: [PATCH 1/5] workqueue: fix memory leak in wq_numa_init()

2014-12-12 Thread Tejun Heo
On Fri, Dec 12, 2014 at 06:19:51PM +0800, Lai Jiangshan wrote: > wq_numa_init() will quit directly on some bonkers cases without freeing the > memory. Add the missing cleanup code. > > Cc: Tejun Heo > Cc: Yasuaki Ishimatsu > Cc: "Gu, Zheng" > Cc: tangchen > Cc: Hiroyuki KAMEZAWA > Signed-off

Re: [PATCH 1/5] workqueue: fix memory leak in wq_numa_init()

2014-12-14 Thread Lai Jiangshan
On 12/13/2014 01:12 AM, Tejun Heo wrote: > On Fri, Dec 12, 2014 at 06:19:51PM +0800, Lai Jiangshan wrote: >> wq_numa_init() will quit directly on some bonkers cases without freeing the >> memory. Add the missing cleanup code. >> >> Cc: Tejun Heo >> Cc: Yasuaki Ishimatsu >> Cc: "Gu, Zheng" >> Cc