freebsd-dev/sys/amd64
Peter Grehan cf1d80d88c Expose the amount of resident and wired memory from the guest's vmspace.
This is different than the amount shown for the process e.g. by
/usr/bin/top - that is the mappings faulted in by the mmap'd region
of guest memory.

The values can be fetched with bhyvectl

 # bhyvectl --get-stats --vm=myvm
 ...
 Resident memory                         	413749248
 Wired memory                            	0
 ...

vmm_stat.[ch] -
 Modify the counter code in bhyve to allow direct setting of a counter
as opposed to incrementing, and providing a callback to fetch a
counter's value.

Reviewed by:	neel
2014-06-25 22:13:35 +00:00
..
acpica Consistently use round_page(x) rather than roundup(x, PAGE_SIZE). There is 2013-02-15 22:43:08 +00:00
amd64 Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
conf Restore comments accidentally removed. 2014-06-06 04:08:55 +00:00
ia32 x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...) 2013-11-14 15:37:20 +00:00
include Add FPU_KERN_KTHR flag to fpu_kern_enter(9), which avoids saving FPU 2014-06-23 07:37:54 +00:00
linux32 Revert r266925 as it can lead to instant panic at fexecve(): 2014-06-17 05:29:18 +00:00
pci Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
vmm Expose the amount of resident and wired memory from the guest's vmspace. 2014-06-25 22:13:35 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00