Re: [PATCH V2] workqueue: jumps to use_dfl_pwq if the target cpumask is equal wq's

From: Tejun Heo
Date: Fri Apr 18 2014 - 15:52:22 EST


On Fri, Apr 18, 2014 at 09:08:14AM +0900, Daeseok Youn wrote:
> wq_update_unbound_numa(), when it's decided that the newly updated
> cpumask equals the default, looks at whether the current pwq is
> already the default one and skips setting pwq to the default one.
> This extra step is unnecessary and we can always jump to use_dfl_pwq
> instead. Simplify the code by removing the conditional.
> This doesn't make any functional difference.
>
> Signed-off-by: Daeseok Youn <daeseok.youn@xxxxxxxxx>

Applied to wq/for-3.16 w/ minor update to the patch title.

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/