From: Tejun Heo <tj@kernel.org>
To: Marco Crivellari <marco.crivellari@suse.com>
Cc: linux-kernel@vger.kernel.org,
Lai Jiangshan <jiangshanlai@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Frederic Weisbecker <frederic@kernel.org>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Michal Hocko <mhocko@suse.com>
Subject: Re: [PATCH v2 0/4] Workqueue: rename system workqueue and add WQ_PERCPU
Date: Tue, 10 Jun 2025 11:38:01 -1000 [thread overview]
Message-ID: <aEilufYKeex0diW-@slm.duckdns.org> (raw)
In-Reply-To: <CAAofZF6AfmjYcNQSBFHsteN_10=z0RSt20DpOM8i_NLQBO5qLQ@mail.gmail.com>
Hello, Marco.
On Tue, Jun 10, 2025 at 10:34:15AM +0200, Marco Crivellari wrote:
> >- Separate out patches to add the new flag and wq. Don't add the warnings
> > yet. I'll commit these patches to a separate wq branch.
>
> Basically these means have 2 more patches, one for WQ_PERCPU (only the
> new flag, like in the v1 let's say) and another patch that adds the wq(s).
>
> So, all the logic changes (also in __alloc_workqueue), pr_warn_once() will
> stay in the other patch (that you will apply later); this is not only 1 patch,
> following your next point.
>
> If I understood correctly, it makes sense to me.
Yeah.
> >- Split out patches by subsystems. I know this is tedious but think it'd
> > still be worth doing. It doesn't have to be completely granular. e.g. We
> > know that network changes go through a single tree, so all network changes
> > can be in a single patch. Each patch can explain the workqueue changes and
> > that the patch can be either routed through the subysstem which would
> > require pulling from the above wq branch, or, as the default option, we'd
> > be happy to route the patch through the workqueue tree. I can create a
> > separate branch to collect the conversion patches that can go through wq
> > tree.
>
> This impacts patch 3, so instead of 1 big patch, you are thinking of N patches,
> in order to add WQ_PERCPU to the callers of subsystems first.
>
> So, something like:
> - net/
> - mm/
> - fs/
>
> Do you have something different in mind?
No, that sounds fine.
> >- After the next rc1 drops, I can apply the patches to add warnings to the
> > -fixes branch and then send them to Linus.
>
> Sounds good.
I think we're in agreement.
Thanks.
--
tejun
prev parent reply other threads:[~2025-06-10 21:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 10:35 Marco Crivellari
2025-06-09 10:35 ` [PATCH v2 1/4] Workqueue: add system_percpu_wq Marco Crivellari
2025-06-09 10:35 ` [PATCH v2 2/4] Workqueue: add system_dfl_wq Marco Crivellari
2025-06-10 3:04 ` Lai Jiangshan
2025-06-10 8:56 ` Marco Crivellari
2025-06-10 21:44 ` Tejun Heo
2025-06-09 10:35 ` [PATCH v2 3/4] Workqueue: add WQ_PERCPU Marco Crivellari
2025-06-10 2:07 ` kernel test robot
2025-06-09 10:35 ` [PATCH v2 4/4] [Doc] " Marco Crivellari
2025-06-09 18:59 ` [PATCH v2 0/4] Workqueue: rename system workqueue and " Tejun Heo
2025-06-10 8:34 ` Marco Crivellari
2025-06-10 21:38 ` Tejun Heo [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=aEilufYKeex0diW-@slm.duckdns.org \
--to=tj@kernel.org \
--cc=bigeasy@linutronix.de \
--cc=frederic@kernel.org \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.crivellari@suse.com \
--cc=mhocko@suse.com \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®