|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH ] Avoid potential suspend event channel race
As discussed previously (see
http://lists.xensource.com/archives/html/xen-devel/2009-03/msg00570.html), we
try to make access to event channel be protected. The attached patch achieved
it through one lock file under /var/lib/xen/.
evet_channel.patch:
Changes the xc_save.c, to remove the dependency to the global si structure and
has no logic change.
The patch move_evtchn.patch :
Move the suspend event channel function to libxc, it will use the
/var/lib/xen/suspend_evtchn_lock.d to protect the access.
I'm not sure if using lock file is a right method, so any feedback is welcome.
signed-off-by: Jiang Yunhong <yunhong.jiang@xxxxxxxxx>
Thanks
Yunhong Jiang
event_channel.patch
Description: event_channel.patch
move_evtchn.patch
Description: move_evtchn.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH ] Avoid potential suspend event channel race,
Jiang, Yunhong <=
|
|
|
|
|