rdtgroup_ps...in_hierarchy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is rdtgroup_pseudo_locked_in_hierarchy(9) from the Kernel API Manual β€” and it's literally the vibe check for whether a cache hierarchy already has a pseudo-locked region in it πŸ¦‹πŸ’…

✨ NAME ✨

rdtgroup_pseudo_locked_in_hierarchy β€” Pseudo-locked region in cache hierarchy.

🌸 SYNOPSIS 🌸

bool rdtgroup_pseudo_locked_in_hierarchy (struct rdt_ctrl_domain *d );

πŸŽ€ ARGUMENTS πŸŽ€

  • d β€” RDT domain under test. That's the domain we're checking, bestie.

πŸ’– DESCRIPTION πŸ’–

Setting up a pseudo-locked region is not a solo mission: it affects all cache instances within the hierarchy of the region. So it's essential to know whether any pseudo-locked regions already exist within a cache hierarchy, because that's how we prevent any attempts to create new pseudo-locked regions in the same hierarchy. No cap, it's a whole hierarchy-wide situation 🫢

πŸ”₯ RETURN πŸ”₯

Returns true if a pseudo-locked region exists in the hierarchy of d, or if it's not possible to test due to a memory allocation issue. Returns false otherwise. Periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./fs/resctrl/pseudo_lock.c β€” go read it, bestie, iykyk πŸ“–βœ¨


mwah πŸ’‹ β€” this page is from ./fs/resctrl, dated October 2026, and the header title is rdtgroup_ps...in_hierarchy(9). Bye bestie, slay those cache hierarchy checks πŸ§šπŸ’œ

πŸ“¦ where this page comes from