i915_gem_ob...e_shrinkable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ i915_gem_ob...e_shrinkable(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual ✨ this one's a lil page about a function with a name so long the header literally had to abbreviate it β€” i915_gem_ob...e_shrinkable(9) β€” and honestly? iconic of it πŸ’…


🌸 NAME 🌸

i915_gem_object_make_shrinkable β€” so what it does is, it moves the object to the tail of the shrinkable list πŸŽ€ and like, heads up: objects on this list might be swapped out 😭 it's used with WILLNEED objects, iykyk.


✨ SYNOPSIS ✨

void i915_gem_object_make_shrinkable (struct drm_i915_gem_object *obj );

that's it, that's the whole vibe β€” returns void, takes one pointer, no cap 🫢


🧚 ARGUMENTS 🧚

  • obj β€” the GEM object. yes. that's the whole description. she's brief, she's mysterious, she's a GEM object πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

ok so this is where the rules live, and they're lowkey strict, so listen up πŸ”₯

MUST only be called on objects which have backing pages. like, fr fr. no pages, no call. 🚫
and it MUST be balanced with a previous call to i915_gem_object_make_unshrinkable β€” you can't just make it shrinkable and dip, bestie, that's not how this works 😀 it's giving "every action has an equal and opposite reaction" but for kernel objects ✨

πŸ’œ SEE ALSO πŸ’œ

the receipts, the lore, the friend group 🫢


and that's the page!! πŸŽ€ mwah πŸ’‹

this lil masterpiece came from ./drivers/gpu/drm/i915/gem, dated October 2026, and it's version-coded as i915_gem_ob...e_shrinkable(9) β€” write it down, cite it in your essay, whatever, slay 🌈⭐

πŸ“¦ where this page comes from