lkml.org 
[lkml]   [2015]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] workqueue: reuse the current per-node pwq when its attrs are unchanged
On Wed, Jun 03, 2015 at 10:29:50PM +0800, Lai Jiangshan wrote:
> If the cpumask is changed, it is possible that only a part of the per-node
> pwq is affected. This can happen when the user changes the cpumask of
> a workqueue or the low level cpumask.
>
> So we try to reuse the current per-node pwq when its attrs are unchanged.
>
> In wq_update_unbound_numa(), we had already made the current pwq be
> reused when its attrs are unaffected, but we move the code of fetching
> current pwq closer to the code of testing.
>
> Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>

This one looks good to me.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-06-04 03:21    [W:0.165 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site