Files
linux/tools/verification/models/sched/scpd.dot
T
Gabriele Monaco fbe6c09b7e rv: Add scpd, snep and sncid per-cpu monitors
Add 3 per-cpu monitors as part of the sched model:

* scpd: schedule called with preemption disabled
    Monitor to ensure schedule is called with preemption disabled
* snep: schedule does not enable preempt
    Monitor to ensure schedule does not enable preempt
* sncid: schedule not called with interrupt disabled
    Monitor to ensure schedule is not called with interrupt disabled

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
633 B
Plaintext

digraph state_automaton {
center = true;
size = "7,11";
{node [shape = plaintext] "can_sched"};
{node [shape = plaintext, style=invis, label=""] "__init_cant_sched"};
{node [shape = ellipse] "cant_sched"};
{node [shape = plaintext] "cant_sched"};
"__init_cant_sched" -> "cant_sched";
"can_sched" [label = "can_sched"];
"can_sched" -> "can_sched" [ label = "schedule_entry\nschedule_exit" ];
"can_sched" -> "cant_sched" [ label = "preempt_enable" ];
"cant_sched" [label = "cant_sched", color = green3];
"cant_sched" -> "can_sched" [ label = "preempt_disable" ];
{ rank = min ;
"__init_cant_sched";
"cant_sched";
}
}