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

[Xen-devel] Re: [PATCH] make ballooning up to maxmem work



  
>      case XENMEM_current_reservation:
>      case XENMEM_maximum_reservation:
> +    case XENMEM_maximum_memory:
>          if ( copy_from_guest(&domid, arg, 1) )
>              return -EFAULT;

This still makes use of d->max_pages in return. Isn't it supposed to
change in the future too? IIRC, according to Keir, max_pages will track 
the _current_ number of pages, differing from tot_pages only in a brief
timeframe in which you balloon, but tot_pages was not yet updated.


-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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