Re: [PATCH 09/10] workqueue: implement NUMA affinity for unbound workqueues

From: Tejun Heo
Date: Wed Mar 20 2013 - 11:32:27 EST


On Wed, Mar 20, 2013 at 8:26 AM, Lai Jiangshan <eag0628@xxxxxxxxx> wrote:
>> for_eahc_node(node)
>> if (pwq_tbl[node] != dfl_pwq)
>> kfree(pwq_tbl[node]);
>> kfree(dfl_pwq);
>
> I also missed.
> we still need to put_unbound_pool() before free(pwq)

Yeap, we do. Wonder whether we can just use put_pwq() there. I'll see if I can.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/