[pve-devel] [PATCH qemu-server 0/1] Use nr_hugepages from /proc/cmdline

ayufan at ayufan.eu ayufan at ayufan.eu
Tue Feb 12 12:59:35 CET 2019


From: Kamil Trzciński <ayufan at ayufan.eu>

Currently Proxmox VE always deallocates HugePagesTLB
when starting a new machine and it makes it impossible
to preconfigure kernel /proc/cmdline with persistent allocation.

This changes makes deallocation to prefer defaults set by /proc/cmdline,
by parsing the cmdline and respecting hugepages= and hugepagesz=.

Kamil Trzciński (1):
  Use nr_hugepages from /proc/cmdline

 PVE/QemuServer/Memory.pm | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

-- 
2.11.0




More information about the pve-devel mailing list