Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158147 > unrolled thread

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

Started byTejun Heo <tj@kernel.org>
First post2015-06-04 03:10 +0200
Last post2015-06-04 03:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/4] workqueue: reuse the current per-node pwq when its  attrs are unchanged Tejun Heo <tj@kernel.org> - 2015-06-04 03:10 +0200

#1158147 — Re: [PATCH 2/4] workqueue: reuse the current per-node pwq when its attrs are unchanged

FromTejun Heo <tj@kernel.org>
Date2015-06-04 03:10 +0200
SubjectRe: [PATCH 2/4] workqueue: reuse the current per-node pwq when its attrs are unchanged
Message-ID<pxrPr-1B2-11@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web