[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC/PATCH] XENMEM_claim_pages (subop of an existing) hypercall

On 13/11/2012 22:23, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> The key variables (d->unclaimed_pages and total_unclaimed_pages)
> start at zero if no claim has yet been staked for any domain.
> (Perhaps a better name is "claimed_but_not_yet_possessed" but that's
> a bit unwieldy.)  If no claim hypercalls are executed, there
> should be no impact on existing usage.

It would be nice if d->tot_pages adjustments didn't take the global
heap_lock in this case. There's probably some way to bail out of those new
update functions before doing the locked work, in that case.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.