Skip to contentSkip to conversation

v6.8-rt8

ANNOUNCE Sebastian Andrzej Siewior 1 participant 1 message Mar 14, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Dear RT folks!

I'm pleased to announce the v6.8-rt8 patch set.

Changes since v6.8-rt7:

- Add NAPI threads for backlog processing. The patch series replaces a RT specific workaround in the current RT series and avoids a warning once RPS is enabled. The warning, that is triggered once RPS gets enabled, was reported by Wander Lairson Costa.

- perf's testsuite 'perf test sigtrap' reported an error. The way perf's SIGTRAP gets reported and how events are sometimes disabled has been reworked. Upstream didn't complain but is still testing. The issue has been reported by Arnaldo Carvalho de Melo.

Known issues
None.

The delta patch against v6.8-rt7 is appended below and can be found here:

     https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.8/incr/patch-6.8-rt7-rt8.patch.xz

You can get this release via the git tree at:

    https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v6.8-rt8

The RT patch against v6.8 can be found here:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.8/older/patch-6.8-rt8.patch.xz

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.8/older/patches-6.8-rt8.tar.xz

Sebastian

include/linux/netdevice.h +1 -4
index 557efca75a74c..0a29b856786e7 100644
@@ -3323,11 +3323,7 @@ struct softnet_data {
 	int			defer_count;
 	int			defer_ipi_scheduled;
 	struct sk_buff		*defer_list;
-#ifndef CONFIG_PREEMPT_RT
 	call_single_data_t	defer_csd;
-#else
-	struct work_struct	defer_work;
-#endif
 };
 
 static inline void input_queue_head_incr(struct softnet_data *sd)
@@ -3369,6 +3365,7 @@ static inline void dev_xmit_recursion_dec(void)
 	__this_cpu_dec(softnet_data.xmit.recursion);
 }
 
+void kick_defer_list_purge(struct softnet_data *sd, unsigned int cpu);
 void __netif_schedule(struct Qdisc *q);
 void netif_schedule_queue(struct netdev_queue *txq);
 
include/linux/perf_event.h +2 -2
index d2a15c0c6f8a9..c1c6600541657 100644
@@ -781,9 +781,9 @@ struct perf_event {
 	unsigned int			pending_wakeup;
 	unsigned int			pending_kill;
 	unsigned int			pending_disable;
-	unsigned int			pending_sigtrap;
 	unsigned long			pending_addr;	/* SIGTRAP */
 	struct irq_work			pending_irq;
+	struct irq_work			pending_disable_irq;
 	struct callback_head		pending_task;
 	unsigned int			pending_work;
 
@@ -959,7 +959,7 @@ struct perf_event_context {
 	struct rcu_head			rcu_head;
 
 	/*
-	 * Sum (event->pending_sigtrap + event->pending_work)
+	 * Sum (event->pending_work + event->pending_work)
 	 *
 	 * The SIGTRAP is targeted at ctx->task, as such it won't do changing
 	 * that until the signal is delivered.
kernel/events/core.c +54 -44

200 lines not on this page · raw message

localversion-rt +1 -1
index 045478966e9f1..700c857efd9ba 100644
@@ -1 +1 @@
--rt7
+-rt8
net/core/dev.c +158 -93

455 lines not on this page · raw message

net/core/skbuff.c +2 -7
index 633da914cc499..bd4985ff5717a 100644
@@ -6921,13 +6921,8 @@ nodefer:	__kfree_skb(skb);
 	/* Make sure to trigger NET_RX_SOFTIRQ on the remote CPU
 	 * if we are unlucky enough (this seems very unlikely).
 	 */
-	if (unlikely(kick) && !cmpxchg(&sd->defer_ipi_scheduled, 0, 1)) {
-#ifndef CONFIG_PREEMPT_RT
-		smp_call_function_single_async(cpu, &sd->defer_csd);
-#else
-		schedule_work_on(cpu, &sd->defer_work);
-#endif
-	}
+	if (unlikely(kick))
+		kick_defer_list_purge(sd, cpu);
 }
 
 static void skb_splice_csum_page(struct sk_buff *skb, struct page *page,