Re: [PATCH] workqueue: Free useless memory when disabling NUMA in wq_numa_init()

2015-09-17 Thread Tejun Heo
Hello, On Thu, Sep 17, 2015 at 10:43:55AM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > wq_update_unbound_numa_attrs_buf and tbl will never be used > in case of invalid NUMA node mapping, so just free them. > > Signed-off-by: Xunlei Pang > --- > kernel/workqueue.c | 7 +++ > 1 file ch

[PATCH] workqueue: Free useless memory when disabling NUMA in wq_numa_init()

2015-09-16 Thread Xunlei Pang
From: Xunlei Pang wq_update_unbound_numa_attrs_buf and tbl will never be used in case of invalid NUMA node mapping, so just free them. Signed-off-by: Xunlei Pang --- kernel/workqueue.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index ca71