svm_range_is_valid(9)
β¨ NAME β¨
hey bestie, this is svm_range_is_valid(9) from the Kernel API Manual β and it does exactly what it says on the tin: check if virtual address range is valid π
π¦ SYNOPSIS π¦
int svm_range_is_valid (struct kfd_process *p , uint64_t start ,
uint64_t size );
π ARGUMENTS π
pβ currentkfd_processπstartβ range start address, in pages πΈsizeβ range size, in pages π¦
π DESCRIPTION π
okay so the vibe check here is simple: a valid virtual address range means it belongs to one or more VMAs β¨ thatβs literally the whole thing, no cap.
π CONTEXT π
Process context π«Ά
β RETURN β
0 - OK, otherwise error code π
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/amd/amdkfd/kfd_svm.c β and these related besties:
svm_range_unlink(9)svm_range_add_to_svms(9)svm_range_debug_dump(9)svm_range_split_adjust(9)svm_range_split(9)svm_range_list_lock_and_flush_work(9)svm_range_evict(9)svm_range_add(9)svm_range_cpu_invalidate_pagetables(9)svm_range_from_addr(9)svm_range_check_vm(9)svm_range_best_prefetch_location(9)
mwah π β signed off from the source/version spot ./drivers/gpu/drm/amd/amdkfd, dated October 2026 πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms