STRUCT BINDER_SHRINKER_MDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for struct binder_shrinker_mdata(9) β€” the header has that truncated struct binde...rinker_mdata(9) moment, but the NAME section is giving full-name clarity ✨

πŸ’– NAME πŸ’–

so struct binder_shrinker_mdata is literally the binder metadata used to reclaim pages. that’s the whole vibe: binder metadata, page reclaim, iconic little struct behavior πŸ’…

✨ SYNOPSIS ✨

here’s the exact shape, no cap β€” copy it character for character:

       struct binder_shrinker_mdata {
           struct list_head lru;
           struct binder_alloc *alloc;
           unsigned long page_index;
        };

πŸŽ€ Members πŸŽ€

  • lru β€” the LRU entry in binder_freelist. it’s the list-link moment, fr fr.
  • alloc β€” the binder_alloc that owns the page to reclaim. main character pointer energy 🫢
  • page_index β€” the offset in alloc->pages[] into the page to reclaim. yes bestie, it indexes into that array and points at the page situation.

🌈 SEE ALSO 🌈

go peek at these, iykyk:


that’s the whole page, bestie 🫢 shoutout to the footer: source/version spot ./drivers/android, date October 2026, and the footer title struct binde...rinker_mdata(9). mwah πŸ’‹

πŸ“¦ where this page comes from