aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-09-23 18:54:43 +0200
committerPeter Zijlstra <[email protected]>2021-10-01 13:57:51 +0200
commit50e081b96e35e43b65591f40f7376204decd1cb5 (patch)
treeca4532d6008097e6e5b81ba564e67460a945dc37 /tools/perf/scripts/python/mem-phys-addr.py
parent8d713b699e84aade6b64e241a35f22e166fc8174 (diff)
sched: Make RCU nest depth distinct in __might_resched()
For !RT kernels RCU nest depth in __might_resched() is always expected to be 0, but on RT kernels it can be non zero while the preempt count is expected to be always 0. Instead of playing magic games in interpreting the 'preempt_offset' argument, rename it to 'offsets' and use the lower 8 bits for the expected preempt count, allow to hand in the expected RCU nest depth in the upper bits and adopt the __might_resched() code and related checks and printks. The affected call sites are updated in subsequent steps. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions