avocado-vt
avocado-vt copied to clipboard
HugePageConfig:Update method for calculating huge pages
The current calculation formula is to take the remainder. But the calculation of the page should be rounded up, to make sure the memory is enough.
Please refer to the following example: 21102592 // 16777216 1 math.ceil(21102592 / 16777216) 2
ID: 1425 Signed-off-by: zhenyzha [email protected]