[patch 0/2] sched: Cleanup idle task double initialization

From: Thomas Gleixner
Date: Mon Oct 28 2024 - 06:44:35 EST


Idle tasks are initialized via __sched_fork() twice, which can be trivially
avoided as pointed out here:

https://lore.kernel.org/all/8734p4ymqj.ffs@tglx

As this got ignored, the tasteless hack in init_scx_entity() to work around
it stayed and found it's way into mainline.

Mop it up after the fact to not further proliferate technical debt.

Thanks,

tglx
---
core.c | 13 ++++---------
ext.c | 7 +------
2 files changed, 5 insertions(+), 15 deletions(-)