« Previous | Next » 

Revision 18640d69

ID18640d69547cc8dab1c9802d5cb20446a4e8386e

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences