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

Kamil Trzciński ayufan at ayufan.eu
Tue Feb 12 12:49:13 CET 2019


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