amdgpu_vm_move_to_lru_tail(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_move_to_lru_tail(9) β€” Kernel API Manual Energy ✨

okay so bestie, welcome to the Kernel API Manual for amdgpu_vm_move_to_lru_tail(9) β€” yes that's a whole mouthful, but we're gonna get through it together, i promise 🫢


🌸 NAME 🌸

amdgpu_vm_move_to_lru_tail β€” move all BOs to the end of LRU πŸ’«


πŸŽ€ SYNOPSIS πŸŽ€

void amdgpu_vm_move_to_lru_tail (struct amdgpu_device *adev , struct
amdgpu_vm *vm );

like... it's giving "returns nothing, does one thing, does it well" πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the amdgpu device pointer. your main character device, fr fr πŸ‘‘
  • vm β€” the vm providing the BOs. she's the one handing over the goods ✨

πŸ’– DESCRIPTION πŸ’–

Move all BOs to the end of LRU and remember their positions to put them together. that's it, that's the whole vibe πŸŽ€ no cap, it does exactly what it says on the tin β€” the way that it scoops everything over to the tail of the LRU and stashes the positions so they can be reassembled? obsessed 😭πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c β€” go read the source, iykyk πŸ“–βœ¨

and then, like, the entire extended universe of friends πŸ’œ:

like literally the whole friend group showed up to the function's birthday party πŸŽ‰πŸ’€


bestie reminder: this page lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β€” so yeah, she's from the future, she's iconic, she's amdgpu_vm_move_to_lru_tail(9) πŸ’…βœ¨ periodt πŸŽ€πŸ’–
πŸ“¦ where this page comes from