diff options
author | Michael Ellerman <[email protected]> | 2023-04-07 00:45:34 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-04-20 13:21:49 +1000 |
commit | 88990745c934b14359e526033c5bc1daaf15267c (patch) | |
tree | 1fbc35626d2a1132017c17071b761fc90f394ff1 /tools/perf/scripts/python/sched-migration.py | |
parent | 6fee130204650515af80c2786176da0fe7e94482 (diff) |
cpuidle: pseries: Mark ->enter() functions as __cpuidle
Code in the idle path is not allowed to be instrumented because RCU is
disabled, see commit 0e985e9d2286 ("cpuidle: Add comments about
noinstr/__cpuidle usage").
Mark the cpuidle ->enter() callbacks as __cpuidle and use the
raw_local_irq_*() routines to ensure that is the case.
Reported-by: Sachin Sant <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Suggested-by: Peter Zijlstra <[email protected]>
Tested-by: Sachin Sant <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions