Virtio_Balloon implementation for DragonFly
- Initial check-in of fbsd virtio_balloon (freebsd/freebsd@
1537078)
- Update virtio_balloon man page
- Fix vtballoon_alloc_intrs to deal nicely with number of provided interrupts.
- Use a backoff scheme when allocating vm_pages:
- VM_ALLOC_NORMAL for normal (low memory presure) situation;
- VM_ALLOC_SYSTEM + increased sleep timeout, for high memory presure circumstances.
The latter will allow the system to swap other pages out if necessary.
- Implemented suggestions made by ivadasz
- Added virtio_teardown_intr handling to vtballoon_detach
- Added config_change_intr handling
- Fixed virtio_setup_intr
- Add debug_level sysctl for tracing.
- Add collection of guest memory/pagefault statistics
- Completed/Updated header definitions
- Don't use VM_ALLOC_INTERRUPT. Add better inflate/deflate debug output to thread_sleep function
- Don't collect stats when initialially loaded (Reported by tuxillo).