« Previous | Next » 

Revision 18640d69


Added by Guido Trotter over 15 years ago

IAllocator: subtract down instances from free mem

Currently free_memory just reports the amount of free ram, as seen by the
hypervisor. We adjust this amount by subtracting the memory for any instance
which is down, and the difference for any instance which is configured to have
more memory than the amount it's currently running at.

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences