Files
linux/tools/verification/models/sched/tss.dot
T
Gabriele Monaco 9fd420abc4 rv: Add sco and tss per-cpu monitors
Add 2 per-cpu monitors as part of the sched model:

* sco: scheduling context operations
    Monitor to ensure sched_set_state happens only in thread context
* tss: task switch while scheduling
    Monitor to ensure sched_switch happens only in scheduling context

To: Ingo Molnar <[email protected]>
To: Peter Zijlstra <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: John Kacur <[email protected]>
Cc: Clark Williams <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Gabriele Monaco <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
2025-03-24 17:27:39 -04:00

19 lines
542 B
Plaintext

digraph state_automaton {
center = true;
size = "7,11";
{node [shape = plaintext] "sched"};
{node [shape = plaintext, style=invis, label=""] "__init_thread"};
{node [shape = ellipse] "thread"};
{node [shape = plaintext] "thread"};
"__init_thread" -> "thread";
"sched" [label = "sched"];
"sched" -> "sched" [ label = "sched_switch" ];
"sched" -> "thread" [ label = "schedule_exit" ];
"thread" [label = "thread", color = green3];
"thread" -> "sched" [ label = "schedule_entry" ];
{ rank = min ;
"__init_thread";
"thread";
}
}