Re: [PATCH 4/7 V2] workqueue: reuse the current per-node pwq when its attrs unchanged

From: Tejun Heo
Date: Tue May 26 2015 - 14:52:12 EST


Hello, Lai.

On Mon, May 25, 2015 at 05:47:17PM +0800, Lai Jiangshan wrote:
> The patch 4/5/6 does reduce cpu and temporary-memory usage sometimes.
> But it is in slow path where small optimization is commonly unwelcome at.
>
> Do I need to refactor the patches? I'm in doubt for the necessary.

I like avoiding creating identical pwqs at least. For the rest, I'm
okay either way as long as code is not made more complex in the
process.

Thanks.

--
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/