From: Juri Lelli <juri.lelli@redhat.com>
To: Waiman Long <longman@redhat.com>
Cc: Tejun Heo <tj@kernel.org>, Lai Jiangshan <jiangshanlai@gmail.com>,
linux-kernel@vger.kernel.org, Cestmir Kalina <ckalina@redhat.com>,
Alex Gladkov <agladkov@redhat.com>, Phil Auld <pauld@redhat.com>,
Costa Shulyupin <cshulyup@redhat.com>
Subject: Re: [PATCH-wq v2 0/5] workqueue: Enable unbound cpumask update on ordered workqueues
Date: Mon, 5 Feb 2024 10:48:28 +0100 [thread overview]
Message-ID: <ZcCu7GWMPWOFYAFY@localhost.localdomain> (raw)
In-Reply-To: <20240203154334.791910-1-longman@redhat.com>
Hi,
On 03/02/24 10:43, Waiman Long wrote:
> v2:
> - [v1] https://lore.kernel.org/all/20240130183336.511948-1-longman@redhat.com/
> - Rebased on top of wq's for-v6.9 branch.
> - Use the new pwq_tryinc_nr_active() mechanism to freeze the new
> pwq of an ordered workqueue until the old pwq has been properly
> drained to maintain ordering.
> - Make rescuer follow changes in workqueue unbound cpumask as well
> as its sysfs cpumask, if available.
>
> Ordered workqueues does not currently follow changes made to the
> global unbound cpumask because per-pool workqueue changes may break
> the ordering guarantee. IOW, a work function in an ordered workqueue
> may run on a cpuset isolated CPU.
>
> This series enables ordered workqueues to follow changes made to
> the global unbound cpumask by temporaily freeze the newly allocated
> pool_workqueue by using the new frozen flag to freeze execution of
> newly queued work items until the old pwq has been properly flushed.
>
> The cpumask of the rescuer task of each workqueue is also made to follow
> changes in workqueue unbound cpumask as well as its sysfs cpumask,
> if available.
From a testing point of view this now looks good to me.
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Best,
Juri
prev parent reply other threads:[~2024-02-05 9:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 15:43 [PATCH-wq v2 0/5] workqueue: Enable unbound cpumask update on ordered workqueues Waiman Long
2024-02-03 15:43 ` [PATCH-wq v2 1/5] workqueue: Skip __WQ_DESTROYING workqueues when updating global unbound cpumask Waiman Long
2024-02-05 18:00 ` Tejun Heo
2024-02-03 15:43 ` [PATCH-wq v2 2/5] workqueue: Enable unbound cpumask update on ordered workqueues Waiman Long
2024-02-05 19:23 ` Tejun Heo
2024-02-03 15:43 ` [PATCH-wq v2 3/5] workqueue: Thaw frozen pwq in workqueue_apply_unbound_cpumask() Waiman Long
2024-02-04 10:15 ` kernel test robot
2024-02-04 16:07 ` Waiman Long
2024-02-03 15:43 ` [PATCH-wq v2 4/5] kernel/workqueue: Let rescuers follow unbound wq cpumask changes Waiman Long
2024-02-03 15:43 ` [PATCH-wq v2 5/5] workqueue: Bind unbound workqueue rescuer to wq_unbound_cpumask Waiman Long
2024-02-05 9:48 ` Juri Lelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZcCu7GWMPWOFYAFY@localhost.localdomain \
--to=juri.lelli@redhat.com \
--cc=agladkov@redhat.com \
--cc=ckalina@redhat.com \
--cc=cshulyup@redhat.com \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=pauld@redhat.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.