drm_gem_lru_move_tail(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_gem_lru_move_tail(9) β€” Kernel API Manual πŸ’–

Okay bestie, this is the drm_gem_lru_move_tail(9) page from the Kernel API Manual, and it's lowkey just one tiny LRU shuffle. Let's get into it ✨

πŸŽ€ NAME πŸŽ€

drm_gem_lru_move_tail β€” move the object to the tail of the LRU

✨ SYNOPSIS ✨

void drm_gem_lru_move_tail (struct drm_gem_lru *lru , struct
       drm_gem_object *obj );

🫢 ARGUMENTS 🫢

  • lru β€” the LRU you're moving the object into. That's the destination, bestie πŸ’…
  • obj β€” the GEM object that's getting moved into this LRU.

🌸 DESCRIPTION 🌸

So here's the tea: if the object is already in this LRU, it gets moved to the tail. Periodt. πŸŽ€

Otherwise, it gets removed from whichever other LRU it's in (if any), and then moved into this LRU. That's the whole move, no cap. πŸ¦‹

🌈 SEE ALSO 🌈

The kernel file is ./drivers/gpu/drm/drm_gem.c, and the related-functions group chat is:


That's the vibe check, bestie 🫢 Source/version: ./drivers/gpu/drm; date: October 2026; manual: drm_gem_lru_move_tail(9). Mwah πŸ’‹

πŸ“¦ where this page comes from