Messages in this thread | | | Date | Fri, 18 Apr 2014 15:52:03 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH V2] workqueue: jumps to use_dfl_pwq if the target cpumask is equal wq's |
| |
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@gmail.com>
Applied to wq/for-3.16 w/ minor update to the patch title.
Thanks.
-- tejun
| |