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

2014-04-18 Thread Tejun Heo
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 a

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

2014-04-17 Thread Daeseok Youn
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 rem