From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: wen.yang@linux.dev, Clark Williams <clrkwllms@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Eric Dumazet <edumazet@google.com>,
Jesper Dangaard Brouer <brouer@redhat.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
linux-rt-devel@list.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6.1-rt 00/15] net: Backport backlog-NAPI threads to resolve PREEMPT_RT softirq warning in SMP flush
Date: Wed, 14 Oct 2026 17:08:53 +0200 [thread overview]
Message-ID: <20261014150853.f8I2fNx0@linutronix.de> (raw)
In-Reply-To: <cover.1791912669.git.wen.yang@linux.dev>
Please keep the networking folks out of the loop. This is a backport
request which goes entirely via the RT-queue.
On 2026-10-14 01:58:34 [+0800], wen.yang@linux.dev wrote:
> From: Wen Yang <wen.yang@linux.dev>
>
> *** Overview ***
> Backport the backlog-NAPI smpboot-thread mechanism and its prerequisite
> NAPI/RPS/defer_list work from upstream (v6.4 - v6.9) to v6.1-rt-next.
>
> *** Problem ***
> On PREEMPT_RT, RPS steers packets to a remote CPU's backlog by sending an
> IPI. The IPI handler (rps_trigger_softirq) calls ____napi_schedule(), which
> raises NET_RX_SOFTIRQ. do_softirq_post_smp_call_flush() then sees a softirq
> pending that was not pending before the flush, and NET_RX_SOFTIRQ is not
> masked by SCHED_SOFTIRQ_MASK, so it fires:
I was about to point out that v6.1-RT should have duct tape for this but
from reading 1/15 is see that this duct is not complete and is missing
RPS. Indeed.
A backport of what is merged is my preference, too. However, we should
get v6.6-rt fixed first then v6.1-rt. Otherwise users upgrading from
v6.1 to v6.6 will have this case broken.
Clark, any objections here from your side?
Sebastian
prev parent reply other threads:[~2026-10-14 15:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 17:58 wen.yang
2026-10-13 17:58 ` [PATCH 01/15] Revert "net: Avoid the IPI to free the" wen.yang
2026-10-13 17:58 ` [PATCH 02/15] net: avoid irqsave in skb_defer_free_flush wen.yang
2026-10-13 17:58 ` [PATCH 03/15] net: napi_schedule_rps() cleanup wen.yang
2026-10-13 17:58 ` [PATCH 04/15] net: add softnet_data.in_net_rx_action wen.yang
2026-10-13 17:58 ` [PATCH 05/15] net: optimize napi_schedule_rps() wen.yang
2026-10-13 17:58 ` [PATCH 06/15] net: optimize ____napi_schedule() to avoid extra NET_RX_SOFTIRQ wen.yang
2026-10-13 17:58 ` [PATCH 07/15] net: add debugging checks in skb_attempt_defer_free() wen.yang
2026-10-13 17:58 ` [PATCH 08/15] net: do not provide hard irq safety for sd->defer_lock wen.yang
2026-10-13 17:58 ` [PATCH 09/15] net: move skb_defer_free_flush() up wen.yang
2026-10-13 18:02 ` [PATCH 10/15] net: make napi_threaded_poll() aware of sd->defer_list wen.yang
2026-10-13 18:02 ` [PATCH 11/15] net: optimize napi_threaded_poll() vs RPS/RFS wen.yang
2026-10-13 18:02 ` [PATCH 12/15] net: Remove conditional threaded-NAPI wakeup based on task state wen.yang
2026-10-13 18:02 ` [PATCH 13/15] net: Use backlog-NAPI to clean up the defer_list wen.yang
2026-10-13 18:02 ` [PATCH 14/15] net: Allow to use SMP threads for backlog NAPI wen.yang
2026-10-13 18:02 ` [PATCH 15/15] net: Rename rps_lock to backlog_lock wen.yang
2026-10-14 15:08 ` Sebastian Andrzej Siewior [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=20261014150853.f8I2fNx0@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=brouer@redhat.com \
--cc=clrkwllms@kernel.org \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-devel@list.kernel.org \
--cc=pabeni@redhat.com \
--cc=rostedt@goodmis.org \
--cc=wen.yang@linux.dev \
/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®