summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-19 11:09:45 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-27 09:24:18 +0100
commit419123f900dac58fb27ce5285b21074f5300095a (patch)
treed0b0d72691d4e2e3df0e9f4d2e335bebc378fdeb /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc6f70d3b8a32fdec60d3f78cb59423f056f16688 (diff)
s390/spinlock: do not yield to a CPU in udelay/mdelay
It does not make sense to try to relinquish the time slice with diag 0x9c to a CPU in a state that does not allow to schedule the CPU. The scenario where this can happen is a CPU waiting in udelay/mdelay while holding a spin-lock. Add a CIF bit to tag a CPU in enabled wait and use it to detect that the yield of a CPU will not be successful and skip the diagnose call. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions