On 10/10/19 12:18 PM, Stefan Reiter wrote:
> As reported in bug #2402, a system started with "default_hugepagesz=1G
> hugepagesz=1G" does not have a /sys/kernel/mm/hugepages/hugepages-2048kB
> directory.
> 
> To fix, ignore the missing directory in hugepages_mount (since it might
> not be needed anyway), and correctly check if the requested hugepage
> size is available in hugepages_size instead.
> 
> Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
> ---
> 
> v2: Correct error message if 1GB hugepages would be supported, but memory is 
> not
> a multiple of 1024
> 
>  PVE/QemuServer/Memory.pm | 16 +++++++++++-----
>  1 file changed, 11 insertions(+), 5 deletions(-)
> 

applied, thanks!

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to