aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorK. Y. Srinivasan <[email protected]>2011-10-04 14:00:02 -0700
committerGreg Kroah-Hartman <[email protected]>2011-10-10 17:05:27 -0700
commit76e5f8135d63eb784ef44438e46e82cf0329e179 (patch)
tree1159513b1b822081bcd5333745e6b2e96061007c /tools/perf/scripts/python
parent93decf3661bf1c7c05bbc217d4e69222b557512a (diff)
Staging: hv: util: Fix a bug in kvp implementation
The host gurantees that there can be only one kvp transaction active against the guest. So, the transaction active state is needed only to protect against spurious user level calls. The current code had a race condition where the guest could prematurely return because the previous transaction state was not cleared - this state was being cleared after sending the response to the host and there was a window where the host could notify the guest of a new transaction before the transaction active state was properly set. Also deal with the case when the user mode component does not respond in a timely fashion correctly. I would like to thank Long Li <[email protected]> for identifying the problem. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Diagnosed-by: Long Li <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions