Skip to content

Commit 4611a4f

Browse files
Janakarajan Natarajanshuahkh
authored andcommitted
cpupower: ToDo: Update ToDo with ideas for per_cpu_schedule handling
Based on Thomas Renninger's feedback/ideas. Re-structure the code to better handle the per_cpu_schedule mechanism which was introduced when adding support for AMD Zen based processors. Signed-off-by: Janakarajan Natarajan <[email protected]> Acked-by: Thomas Renninger <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 6af2ed5 commit 4611a4f

File tree

1 file changed

+14
-0
lines changed
  • tools/power/cpupower

1 file changed

+14
-0
lines changed

tools/power/cpupower/ToDo

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,17 @@ ToDos sorted by priority:
88
- Add another c1e debug idle monitor
99
-> Is by design racy with BIOS, but could be added
1010
with a --force option and some "be careful" messages
11+
- Add cpu_start()/cpu_stop() callbacks for monitor
12+
-> This is to move the per_cpu logic from inside the
13+
monitor to outside it. This can be given higher
14+
priority in fork_it.
15+
- Fork as many processes as there are CPUs in case the
16+
per_cpu_schedule flag is set.
17+
-> Bind forked process to each cpu.
18+
-> Execute start measures via the forked processes on
19+
each cpu.
20+
-> Run test executable in a forked process.
21+
-> Execute stop measures via the forked processes on
22+
each cpu.
23+
This would be ideal as it will not introduce noise in the
24+
tested executable.

0 commit comments

Comments
 (0)