[PATCH] sched/hotplug: Remove unused idle_task_exit

Frederic Weisbecker frederic at kernel.org
Fri Oct 23 06:40:15 PDT 2026


Le Fri, Oct 16, 2026 at 03:26:40PM +0530, Srikar Dronamraju a écrit :
> Commit 21641bd9a7a7 ("lazy tlb: fix hotplug exit race with
> MMU_LAZY_TLB_SHOOTDOWN") moved the handling previously performed by
> idle_task_exit() into the scheduler CPU hotplug path using
> sched_force_init_mm().
> 
> As a result, idle_task_exit() is now an empty stub and the remaining
> architecture call sites have no effect.
> 
> Remove the calls to idle_task_exit() and the now unused stub.
> 
> Signed-off-by: Srikar Dronamraju <srikar at linux.ibm.com>

Reviewed-by: Frederic Weisbecker <frederic at kernel.org>

-- 
Frederic Weisbecker
SUSE Labs



More information about the linux-riscv mailing list