[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 6/6] libxl: support unmapping static shared memory areas during domain destruction
On Wed, Aug 23, 2017 at 02:08:40AM +0800, Zhongze Liu wrote: > Add libxl__sshm_del to Unmap static shared memory areas mapped by Unmap -> unmap > libxl__sshm_add during domain creation. The unmapping process is: > > * For a master: check if it still has living slaves: 1) if yes, mark its > status as "zombie", and don't destroy the information under > /local/static_shm; 2) if no, simply cleanup related xs entries > * For a slave: unmap the shared pages, and cleanup related xs entries. If > this is the only slave, and it's master is in zombie state, also cleanup > the master entries. I still think refcounting the node is better than this customised protocol. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |