From: Dietmar Hahn Subject: Re: [RFC PATCH] PVH: cleanup of p2m upon p2m destroy Date: Wed, 18 Dec 2013 12:32:43 +0100 Message-ID: <1829922.M3m9q5xKjM@amur> References: <20131216174728.2ba3ad9a@mantra.us.oracle.com> <20131217184412.2372eb45@mantra.us.oracle.com> <52B180E4020000780010E971@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52B180E4020000780010E971@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: xen-devel , Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org Am Mittwoch 18 Dezember 2013, 10:03:00 schrieb Jan Beulich: > >>> On 18.12.13 at 03:44, Mukesh Rathor wrote: > > An alternative might be to just create a link list then and walk it. In > > general, foreign mappings should be very small, > > That's according to the usage you're aware of. I think Fujitsu's > tools to control BS2000 guests map huge parts of guest memory > (if not all of it). Yes, that's true, think of dimensions in GB. Dietmar. > > > so the overhead of > > 16 bytes per page for the link list might not be too bad. I will code > > it if there is no disagreement from any maintainer... everyone has > > different ideas :)... > > > > Or better, if I add a count of foreign mappings and hang it off the > > p2m_domain, then this code would only execute in case of control > > domain going away... it seems in that case walking the p2m would be > > tolerable. That should be acceptable? > > That would at least be a first step (following the shared page > count maintained for a domain). I don't think this is going to be > good enough though considering disaggregation. > > Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > -- Company details: http://ts.fujitsu.com/imprint.html