Home
last modified time | relevance | path

Searched refs:disable_nx_huge_pages (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dnx_huge_pages_test.c105 void run_test(int reclaim_period_ms, bool disable_nx_huge_pages, in run_test() argument
116 if (disable_nx_huge_pages) { in run_test()
178 check_2m_page_count(vm, disable_nx_huge_pages ? 2 : 1); in run_test()
179 check_split_count(vm, disable_nx_huge_pages ? 0 : 1); in run_test()
188 check_2m_page_count(vm, disable_nx_huge_pages ? 3 : 1); in run_test()
189 check_split_count(vm, disable_nx_huge_pages ? 0 : 2); in run_test()
193 check_2m_page_count(vm, disable_nx_huge_pages ? 3 : 1); in run_test()
194 check_split_count(vm, disable_nx_huge_pages ? 0 : 2); in run_test()
205 check_2m_page_count(vm, disable_nx_huge_pages ? 3 : 1); in run_test()
213 check_2m_page_count(vm, disable_nx_huge_pages ? 3 : 2); in run_test()
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmu_internal.h187 return READ_ONCE(nx_huge_pages) && !kvm->arch.disable_nx_huge_pages; in is_nx_huge_page_enabled()
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h1515 bool disable_nx_huge_pages; member
/linux-6.12.1/arch/x86/kvm/
Dx86.c6739 kvm->arch.disable_nx_huge_pages = true; in kvm_vm_ioctl_enable_cap()