cloud-hypervisor/arch
Yu Li 55ee8eb482 arch: let arch_memory_regions return all available regions
The previous `arch_memory_regions` function will provide some memory
regions with the specified memory size and fill all the previous
regions before using the next one, but sometimes there may be no need
to fill up the previous one, e.g., the previous one should be aligned
with hugepage size.

This commit make `arch_memory_regions` function not take any
parameters and return the max available regions, the memory manager
can use them on demand.

Fixes: #5463

Signed-off-by: Yu Li <liyu.yukiteru@bytedance.com>
2023-06-16 14:15:03 -07:00
..
src arch: let arch_memory_regions return all available regions 2023-06-16 14:15:03 -07:00
Cargo.toml build: Bump uuid from 1.3.3 to 1.3.4 2023-06-15 00:43:16 +00:00