rdtgroup_lo...user_restore(9)
π rdtgroup_locksetup_user_restore(9) π
okay so bestie, this is a Kernel API Manual page, and it's about rdtgroup_locksetup_user_restore β yes, the name is a whole mouthful, iykyk. let's get into it β¨
β¨ NAME β¨
rdtgroup_locksetup_user_restore β restore user access to group π«Ά
πΈ SYNOPSIS πΈ
int rdtgroup_locksetup_user_restore (struct rdtgroup *rdtgrp );
π ARGUMENTS π
rdtgrpβ the resource group that literally needs its access restored, no cap.
π¦ DESCRIPTION π¦
So this function restores all file access that was previously removed using rdtgroup_locksetup_user_restrict. That's the whole vibe: undo the restriction and give the files their access back. π
π₯ RETURN π₯
0on success, slay β<0on failure π
β οΈ okay important: if a failure happens during the restoration of access, an attempt will be made to restrict permissions again, but the state of the mode of these files will be uncertain when a failure occurs. so yeah, failure here is giving chaos β be aware.
π SEE ALSO π
Kernel file ./fs/resctrl/pseudo_lock.c β the whole friend group:
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_enter(9)rdtgroup_locksetup_exit(9)rdtgroup_cbm_overlaps_pseudo_locked(9)rdtgroup_pseudo_locked_in_hierarchy(9)pseudo_lock_measure_cycles(9)rdtgroup_pseudo_lock_create(9)rdtgroup_pseudo_lock_remove(9)
kisses bestie π the source/version line says ./fs/resctrl, the date says October 2026, and this iconic page is rdtgroup_lo...user_restore(9). bye π
π¦ 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