cloud-hypervisor/vmm
Rob Bradford 7928a697dc vmm: Support configurable huge pages in MemoryManager
Use the newly added hugepages_size option if provided by the user to
pick a huge page size when creating the memfd region. If none is
specified use the system default.

Sadly different huge pages cannot be tested by an integration test as
creating a pool of the non-default size cannot be done at runtime
(requires kernel to be booted with certain parameters.)

TETS=Manually tested with a kernel booted with both 1GiB and 2MiB huge
pages (hugepagesz=1G hugepages=1 hugepagesz=2M hugepages=512)

Fixes: #2230

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-02-05 09:24:02 +00:00
..
src vmm: Support configurable huge pages in MemoryManager 2021-02-05 09:24:02 +00:00
Cargo.toml build(deps): bump libc from 0.2.84 to 0.2.85 2021-02-02 07:47:41 +00:00