* [RFC] sched: Can we rename 'core scheduling' to 'smt scheduling'?
@ 2023-12-19 7:07 Wang Jinchao
2024-01-29 10:36 ` [RFC resend] " Wang Jinchao
0 siblings, 1 reply; 2+ messages in thread
From: Wang Jinchao @ 2023-12-19 7:07 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Daniel Bristot de Oliveira, Valentin Schneider, linux-kernel
Cc: stone.xulei, wangjinchao
The term 'core' in 'kernel/sched/' implies a relation to the kernel of sched,
and at the same time, 'core' is used in 'core scheduling' to represent a CPU core.
Both meanings coexist in the 'core.c' file and appear numerous times.
This can be confusing for newcomers.
--
Wang Jinchao
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC resend] sched: Can we rename 'core scheduling' to 'smt scheduling'?
2023-12-19 7:07 [RFC] sched: Can we rename 'core scheduling' to 'smt scheduling'? Wang Jinchao
@ 2024-01-29 10:36 ` Wang Jinchao
0 siblings, 0 replies; 2+ messages in thread
From: Wang Jinchao @ 2024-01-29 10:36 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Daniel Bristot de Oliveira, Valentin Schneider, linux-kernel
Cc: stone.xulei
On Tue, Dec 19, 2023 at 03:07:43PM +0800, Wang Jinchao wrote:
> The term 'core' in 'kernel/sched/' implies a relation to the kernel of sched,
> and at the same time, 'core' is used in 'core scheduling' to represent a CPU core.
> Both meanings coexist in the 'core.c' file and appear numerous times.
>
> This can be confusing for newcomers.
>
> --
> Wang Jinchao
Maybe we should rename sched/core_sched.c to sched/smt_sched.c,
and move relevant code from sched/core.c to smt_sched.c.
I believe using "smt" in smt_sched.c would be clearer than "core" in core_sched.c,
especially considering its association with core.c.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-29 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 7:07 [RFC] sched: Can we rename 'core scheduling' to 'smt scheduling'? Wang Jinchao
2024-01-29 10:36 ` [RFC resend] " Wang Jinchao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox