i915_gem_obj...ke_purgeable(9)
π NAME π
okay so bestie, this page is for i915_gem_object_make_purgeable, straight out of the Kernel API Manual, section 9. β¨ What it does? It moves the object to the tail of the purgeable list. It's used with DONTNEED objects. And unlike with shrinkable objects, the shrinker will attempt to discard the backing pages, instead of trying to swap them out. That's the whole vibe. π
β¨ SYNOPSIS β¨
void i915_gem_object_make_purgeable (struct drm_i915_gem_object *obj );
π«Ά ARGUMENTS π«Ά
objβ the GEM object. That's it, that's the argument. π
πΈ DESCRIPTION πΈ
okay, rules time, and these are not optional. π¨
This function MUST only be called on objects which have backing pages. Like, literally must. No backing pages? Not the move. π
It also MUST be balanced with a previous call to i915_gem_object_make_unshrinkable. So don't just call it and ghost β keep that balance, fr fr. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_shrink(9)i915_gem_shrink_all(9)i915_gem_object_make_unshrinkable(9)__i915_gem_object_make_shrinkable(9)__i915_gem_object_make_purgeable(9)i915_gem_object_make_shrinkable(9)
that's the whole page, bestie! π source/version: ./drivers/gpu/drm/i915/gem; dated October 2026; and the footer title is i915_gem_obj...ke_purgeable(9). mwah, go slay your kernel work πβ¨
π¦ 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