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@lists.xen.org https://lists.xen.org/xen-devel