]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Rename pnt_seq to kick_sync
authorTejun Heo <tj@kernel.org>
Wed, 22 Oct 2025 20:56:29 +0000 (10:56 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 22 Oct 2025 21:42:14 +0000 (11:42 -1000)
commit987e00035c0e68bc0d44dec811cc9c26310b5bff
treecdb98720647eb43e53384d45a456c496ba607f7e
parenta379fa1e2cae15d7422b4eead83a6366f2f445cb
sched_ext: Rename pnt_seq to kick_sync

The pnt_seq field and related infrastructure were originally named for
"pick next task sequence", reflecting their original implementation in
scx_next_task_picked(). However, the sequence counter is now incremented in
both put_prev_task_scx() and pick_task_scx() and its purpose is to
synchronize kick operations via SCX_KICK_WAIT, not specifically to track
pick_next_task events.

Rename to better reflect the actual semantics:
- pnt_seq -> kick_sync
- scx_kick_pseqs -> scx_kick_syncs
- pseqs variables -> ksyncs
- Update comments to refer to "kick_sync sequence" instead of "pick_task
  sequence"

This is a pure renaming with no functional changes.

Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c
kernel/sched/sched.h