[tip: sched/core] irq_work: Update a comment regarding CPU hotplug invocation

From: tip-bot2 for Sebastian Andrzej Siewior

Date: Fri Oct 02 2026 - 05:35:21 EST


The following commit has been merged into the sched/core branch of tip:

Commit-ID: 791b1760accdc15248929f9b767410a76be199b1
Gitweb: https://git.kernel.org/tip/791b1760accdc15248929f9b767410a76be199b1
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Fri, 11 Sep 2026 16:38:12 +02:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Thu, 01 Oct 2026 14:00:35 +02:00

irq_work: Update a comment regarding CPU hotplug invocation

hotplug_cfd() no longer exists and the flow changed a bit since the
rework of CPU hotplug as of commit 31487f8328f20 ("smp/cfd: Convert core
to hotplug state machine").

Update the comment to reflect reality as of today.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Link: https://patch.msgid.link/20260911143815.997254-2-bigeasy@xxxxxxxxxxxxx
---
kernel/irq_work.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/kernel/irq_work.c b/kernel/irq_work.c
index f7e2dc2..9f19c05 100644
--- a/kernel/irq_work.c
+++ b/kernel/irq_work.c
@@ -252,10 +252,7 @@ static void irq_work_run_list(struct llist_head *list)
irq_work_single(work);
}

-/*
- * hotplug calls this through:
- * hotplug_cfd() -> flush_smp_call_function_queue()
- */
+/* CPU hotplug calls this through smpcfd_dying_cpu() */
void irq_work_run(void)
{
irq_work_run_list(this_cpu_ptr(&raised_list));