summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-05-16 17:44:36 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-18 00:36:50 +0400
commitb9d8e35256251e6e6a27f5f190d4ec462be7f620 (patch)
treee83b4ea2468402cabd7ba6d6e735ebc81caed2ab /tools/perf/scripts/python
parent31bceb845e0f5393db1d9bf033d365cff7132c93 (diff)
downloadlinux-b9d8e35256251e6e6a27f5f190d4ec462be7f620.tar.xz
Staging: hv: Re-implement the synchronization for util channels
The util module expects that the util channels are fully initialized when the module loads. To deal with the race condition which can result in a NULL pointer dereferencing if the util module were to load before all the util channels are fully initialized, in commit: commit: 8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa96 Author: Haiyang Zhang <haiyangz@microsoft.com> Date: Fri May 28 23:22:44 2010 +000 code was introduced in the vmbus driver to ensure that all the util channels were fully initialized before returning from the load of the vmbus driver. This solution has several problems: if for whatever reason, any util channel were to fail to initialize, vmbus driver would wait indefinitely. We deal with this synchronization issue very differently in this patch. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions