[PATCH 0/4] sched_ext: Standardize preprocessor comment markers

From: Cheng-Yang Chou
Date: Wed Jun 11 2025 - 09:54:42 EST


This series standardizes `#if/#else/#endif` comment markers in the
`sched/ext*.{c,h}` files for consistency and readability.

It follows the direction of Ingo Molnar's recent cleanup
("[PATCH 00/43] sched: Use the SMP scheduler on UP too"), which reduced
`CONFIG_SMP` complexity and removed many `#ifdef` blocks across the scheduler.

No functional change.

Thanks.

-chengyang

---
Cheng-Yang Chou (4):
sched_ext: Clean up and standardize #if/#else/#endif markers in
sched/ext.c
sched_ext: Clean up and standardize #if/#else/#endif markers in
sched/ext.h
sched_ext: Clean up and standardize #if/#else/#endif markers in
sched/ext_idle.c
sched_ext: Clean up and standardize #if/#else/#endif markers in
sched/ext_idle.h

kernel/sched/ext.c | 26 +-------------------------
kernel/sched/ext.h | 2 +-
kernel/sched/ext_idle.c | 25 +------------------------
kernel/sched/ext_idle.h | 10 ----------
4 files changed, 3 insertions(+), 60 deletions(-)

--
2.43.0