From: Tejun Heo <tj@kernel.org>
To: Xin Zhao <jackzxcui1989@163.com>
Cc: gregkh@linuxfoundation.org, hch@infradead.org,
jirislaby@kernel.org, linux-kernel@vger.kernel.org,
linux-serial@vger.kernel.org
Subject: Re: [PATCH v1 2/2] serial: 8250_dma: add parameter to queue work on specific cpu
Date: Wed, 22 Oct 2025 06:37:37 -1000 [thread overview]
Message-ID: <aPkIUa73Xfr8NA-q@slm.duckdns.org> (raw)
In-Reply-To: <20251022144707.160181-1-jackzxcui1989@163.com>
On Wed, Oct 22, 2025 at 10:47:07PM +0800, Xin Zhao wrote:
> Considering the current situation is still limited to the RT-Linux scenario, if
> possible, I will add the logic to create this workqueue only when CONFIG_PREEMPT_RT
> is enabled in the next patch. By setting WQ_SYS, it will allow user space to dynamically
> modify it. Additionally, in tty_flip_buffer_push, I will check if a private workqueue
> has been created; if so, I will use the private workqueue to queue the work task.
Creating a workqueue isn't that expensive. Might as well just always create
a dedicated workqueue.
Thanks.
--
tejun
next prev parent reply other threads:[~2025-10-22 16:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-21 8:39 [PATCH v1 2/2] serial: 8250_dma: add parameter to queue work on specific cpu Xin Zhao
2025-10-21 11:28 ` Greg KH
2025-10-21 13:05 ` Xin Zhao
2025-10-21 16:26 ` Greg KH
2025-10-21 16:40 ` Tejun Heo
2025-10-21 17:39 ` Xin Zhao
2025-10-21 18:50 ` Tejun Heo
2025-10-22 13:59 ` Xin Zhao
2025-10-22 14:47 ` Xin Zhao
2025-10-22 16:37 ` Tejun Heo [this message]
2025-10-22 17:15 ` Xin Zhao
2025-10-22 16:59 ` Greg KH
2025-10-22 17:20 ` Xin Zhao
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=aPkIUa73Xfr8NA-q@slm.duckdns.org \
--to=tj@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hch@infradead.org \
--cc=jackzxcui1989@163.com \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox