mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
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]>
19 lines
716 B
Plaintext
19 lines
716 B
Plaintext
digraph state_automaton {
|
|
center = true;
|
|
size = "7,11";
|
|
{node [shape = plaintext] "scheduling_context"};
|
|
{node [shape = plaintext, style=invis, label=""] "__init_thread_context"};
|
|
{node [shape = ellipse] "thread_context"};
|
|
{node [shape = plaintext] "thread_context"};
|
|
"__init_thread_context" -> "thread_context";
|
|
"scheduling_context" [label = "scheduling_context"];
|
|
"scheduling_context" -> "thread_context" [ label = "schedule_exit" ];
|
|
"thread_context" [label = "thread_context", color = green3];
|
|
"thread_context" -> "scheduling_context" [ label = "schedule_entry" ];
|
|
"thread_context" -> "thread_context" [ label = "sched_set_state" ];
|
|
{ rank = min ;
|
|
"__init_thread_context";
|
|
"thread_context";
|
|
}
|
|
}
|