aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2014-05-16 11:59:46 +0200
committerChristian Borntraeger <[email protected]>2014-07-21 13:22:38 +0200
commit0e9c85a5a312fef3e2e79d3ce2d8b6e5b6115e90 (patch)
tree3b902259f325f4c4529a2d0367337259a66f0143 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent433b9ee43c233790c0ae7c02785d6d73fd4d4455 (diff)
KVM: s390: move vcpu wakeup code to a central point
Let's move the vcpu wakeup code to a central point. We should set the vcpu->preempted flag only if the target is actually sleeping and before the real wakeup happens. Otherwise the preempted flag might be set, when not necessary. This may result in immediate reschedules after schedule() in some scenarios. The wakeup code doesn't require the local_int.lock to be held. Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Christian Borntraeger <[email protected]> Acked-by: Cornelia Huck <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions