Revision 18640d69
ID | 18640d69547cc8dab1c9802d5cb20446a4e8386e |
Parent | 955db481 |
Child | e36e96b4 |
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