[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v12 2/3] x86/mem_sharing: reset a fork
On 23.03.2020 18:04, Tamas K Lengyel wrote: > +static int mem_sharing_fork_reset(struct domain *d, struct domain *pd) > +{ > + int rc; > + struct p2m_domain *p2m = p2m_get_hostp2m(d); > + struct page_info *page, *tmp; > + > + spin_lock(&d->page_alloc_lock); > + domain_pause(d); Why do you take the lock first? Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |