diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-02 09:41:06 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 09:07:55 -0700 |
| commit | befd94805906f986a564c16bab17467a114cfb81 (patch) | |
| tree | f7809e4f20a370163e3c83c55b803341b95cbf34 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9886413e04667924c9b42ab8833712e2445302ad (diff) | |
KVM: selftests: Use vm_alloc_page_table() to allocate LoongArch page tables
Now that LoongArch uses KVM_GUEST_PAGE_TABLE_MIN_PADDR for its page table
page allocations, use the common vm_alloc_page_table() instead of open
coding the same.
Opportunistically drop the assert that the allocation succeeded, as the
allocator itself guarantees success.
No functional change intended.
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Tested-by: Itaru Kitayama <itaru.kitayama@fujitsu.com>
Tested-by: Itaru Kitayam <itaru.kitayama@fujitsu.com>
Link: https://patch.msgid.link/20260902164123.2546762-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
