[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 13/15] libxl: introduce libxl_userdata_unlink
On Thu, 2014-09-04 at 23:43 +0100, Wei Liu wrote: > This will be used in later patch for xl to remove its "xl" userdata > file. > > Both CTX lock and userdata lock are taken in this API. CTX lock is taken > to maintain locking hierarchy, but it also has a side effect to protect > against R-M-W by other threads. Userdata lock is used to protect against > domain destruction. > > In general application should not rely on these internal locks to > protect its own userdata files. It should deploys its own lock if it > cares. > > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |