diff options
| author | K. Y. Srinivasan <[email protected]> | 2011-05-16 06:44:36 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-05-17 13:36:50 -0700 |
| commit | b9d8e35256251e6e6a27f5f190d4ec462be7f620 (patch) | |
| tree | e83b4ea2468402cabd7ba6d6e735ebc81caed2ab /include/linux/timerqueue.h | |
| parent | 31bceb845e0f5393db1d9bf033d365cff7132c93 (diff) | |
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions