nfsd_slot_shrinker_scan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to nfsd_slot_shrinker_scan(9) from the Kernel API Manual β€” section 9, kernel edition, no cap ✨. This page is all about reclaiming DRC slots under memory pressure, and it's honestly a short little icon, so let's go 🫢.

✨ NAME ✨

nfsd_slot_shrinker_scan β€” reclaim DRC slots under memory pressure πŸ’…

🫢 SYNOPSIS 🫢

okay so the signature is literally right here, bestie β€” copy it exactly, no edits:

unsigned long nfsd_slot_shrinker_scan (struct shrinker *s , struct
shrink_control *sc );

πŸ’… ARGUMENTS πŸ’…

  • s β€” shrinker descriptor. It's unused here, so it's just vibing in the function signature πŸ’€.
  • sc β€” shrink control; sc->nr_to_scan bounds the sessions visited, and sc->nr_scanned reports how many were visited. The way this struct is doing the actual tracking is iconic πŸŽ€.

πŸŽ€ RETURN πŸŽ€

The return value is the number of session slots NFSD will release. That's the count, periodt πŸ’–.

🌈 SEE ALSO 🌈

Kernel file ./fs/nfsd/nfs4state.c is the home base, and these are the SEE ALSO cuties β€” all of them, no skips:

okay that's the whole page, bestie 🫢 sourced from ./fs/nfsd, page nfsd_slot_shrinker_scan(9), dated October 2026 β€” catch you in the next manpage, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from