[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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 Attachment:
event_channel.patch Attachment:
move_evtchn.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |