aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWanpeng Li <[email protected]>2016-05-03 11:43:10 +0800
committerRadim Krčmář <[email protected]>2016-05-03 17:19:05 +0200
commit35f3fae17849793c7c031b00ec972f3d9057744b (patch)
treec0cfe247551f1f8bafb137b6132ab00b02983fcf /tools/perf/scripts/python
parentf24632475d4ffed5626abbfab7ef30a128dd1474 (diff)
kvm: robustify steal time record
Guest should only trust data to be valid when version haven't changed before and after reads of steal time. Besides not changing, it has to be an even number. Hypervisor may write an odd number to version field to indicate that an update is in progress. kvm_steal_clock() in guest has already done the read side, make write side in hypervisor more robust by following the above rule. Reviewed-by: Wincy Van <[email protected]> Signed-off-by: Wanpeng Li <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions