diff options
author | harry@localhost.localdomain <harry@localhost.localdomain> | 2006-03-24 14:31:20 +0100 |
---|---|---|
committer | harry@localhost.localdomain <harry@localhost.localdomain> | 2006-03-24 14:31:20 +0100 |
commit | 5ebad7be891d2ca5e57523ecf5c6880b54e84800 (patch) | |
tree | fffa0a435be0d9e892509ded4c802ad1c78b4a99 /Makefile | |
parent | 76e09e82387ec2eef675ae705348f655586b7bb3 (diff) | |
download | xen-5ebad7be891d2ca5e57523ecf5c6880b54e84800.tar.gz xen-5ebad7be891d2ca5e57523ecf5c6880b54e84800.tar.bz2 xen-5ebad7be891d2ca5e57523ecf5c6880b54e84800.zip |
Fix bug 515 by adding a global lock around the hotplug scripts in the non-udev hotplug case only.
There are two possible root causes for 515, both of which are only problems in the non-udev hotplug case because udev uses udevsend which already implements the required serialisation.
1) Script concurrency.
2) Kernel reordering hotplug events.
This changeset fixes (1) but not (2). Since (1) is the problem that seems to be happening this is probably OK.
A fix for (2) for the hotplug case might be to add extra serialisation using state changes in the store but this would impact all the drivers and the code and extra complexity would be redundant once everyone had moved to udev. This doesn't seem worthwhile unless we actually start to see (2) happening.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions