svm_range_add_to_svms(9)
π svm_range_add_to_svms(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function called svm_range_add_to_svms and honestly? it does exactly what it says on the tin, no cap. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
svm_range_add_to_svms β the girl whose whole job is adding an svm range to svms π
β SYNOPSIS β
void svm_range_add_to_svms (struct svm_range *prange );
like, that's it. that's the whole signature. short and iconic π
π ARGUMENTS π
prangeβ the svm range structure that's about to get added π¦ literally the star of the show, she's the thing being added
π DESCRIPTION π
so what does she actually do? she adds the svm range to the svms interval tree and the link list β¨ both. not one, not the other, both. multitasking queen fr fr π
π₯ CONTEXT π₯
β οΈ okay this part matters bestie, do not skip it β οΈ
the caller must hold svms->lock π like, no exceptions, this is not a vibe-check-optional situation. hold the lock or don't call her π
π SEE ALSO π
peep the kernel file π ./drivers/gpu/drm/amd/amdkfd/kfd_svm.c and also go say hi to her friends:
svm_range_unlink(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_is_valid(9)svm_range_best_prefetch_location(9)
the whole friend group ate, tbh π
aaand that's the page!! π§ from ./drivers/gpu/drm/amd/amdkfd, dated October 2026, and it's about svm_range_add_to_svms(9) in case you forgot already π mwah, go hold that lock πβ¨ππ¦πΈ
π¦ 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