Skip to content

Commit

Permalink
Add hugepage allocation checking
Browse files Browse the repository at this point in the history
Signed-off-by: liang-cong-red-hat <[email protected]>
  • Loading branch information
liang-cong-red-hat committed Sep 10, 2024
1 parent fbe033e commit be7dddb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def setup_test(vm_name, params, test):

utils_memory.set_num_huge_pages(int(vm_nr_hugepages))
hp_cfg = test_setup.HugePageConfig(params)
hp_cfg.set_kernel_hugepages(set_pagesize, set_pagenum)
hp_cfg.set_kernel_hugepages(set_pagesize, set_pagenum, False)
hp_cfg.hugepage_size = mount_size
hp_cfg.mount_hugepage_fs()
utils_libvirtd.Libvirtd().restart()
Expand Down

0 comments on commit be7dddb

Please sign in to comment.