diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-13 22:18:43 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-13 22:18:43 -1000 |
| commit | 61d564fcdfcd664f623d4175738a6ccee654ca02 (patch) | |
| tree | 60515a7db233e88ee977942568e1ccf1728ae4f2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 147d1885f390bcfb929210814f86dc22b24c2631 (diff) | |
sched_ext: Assign a unique id to each scheduler instance
Neither a scx_sched pointer nor its cgroup id uniquely identifies a
scheduler instance. A freed sched's memory can be reallocated, and a cgroup
can detach one sched and attach another. Add a monotonic, never-reused u64
id. A later patch compares it to drop a slice request that outlived a change
of a task's owning scheduler.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
