diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-04-21 00:19:56 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-04-21 00:54:17 +0300 |
| commit | 85819fa0e3b98682b8c57c6d8ba57e7a9c6032ea (patch) | |
| tree | 233d19e5488283c16ff69625a405df96b04bc9d8 /include/linux/debugobjects.h | |
| parent | 6ec982b5a2c7c9f0f956fd955416ac11f52bf50a (diff) | |
| download | linux-85819fa0e3b98682b8c57c6d8ba57e7a9c6032ea.tar.xz | |
KVM: selftests: Drop "vaddr_" from APIs that allocate memory for a given VM
Now that KVM selftests use gva_t instead of vm_vaddr_t, drop "vaddr_" from
the core memory allocation APIs as the information is extraneous and does
more harm than good. E.g. the APIs don't _just_ allocate virtual memory,
they allocate backing physical memory and install mappings in the guest
page tables. And as proven by kmalloc() and malloc(), developers generally
expect that allocations come with a working virtual address.
Opportunistically clean up the function comment for vm_alloc(), and drop
the misleading and superfluous comments for its wrappers.
No functional change intended.
Link: https://patch.msgid.link/20260420212004.3938325-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
