rdtgroup_ps...in_hierarchy(9)
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 πβ¨
pseudo_lock_minor_get(9)pseudo_lock_minor_release(9)region_find_by_minor(9)struct pseudo_lock_pm_req(9)pseudo_lock_cstates_constrain(9)pseudo_lock_region_clear(9)pseudo_lock_region_init(9)pseudo_lock_init(9)pseudo_lock_region_alloc(9)pseudo_lock_free(9)rdtgroup_monitor_in_progress(9)rdtgroup_locksetup_user_restrict(9)rdtgroup_locksetup_user_restore(9)rdtgroup_locksetup_enter(9)rdtgroup_locksetup_exit(9)rdtgroup_cbm_overlaps_pseudo_locked(9)pseudo_lock_measure_cycles(9)rdtgroup_pseudo_lock_create(9)rdtgroup_pseudo_lock_remove(9)
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
- 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