pseudo_lock_region_clear(9)
π pseudo_lock_region_clear(9) β from the Kernel API Manual, bestie
okay so this is a page straight outta the Kernel API Manual, and it's about pseudo_lock_region_clear β yes the (9) is the manual section, we love a numbered era. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
pseudo_lock_region_clear β Reset pseudo-lock region data π§Ήβ¨
like, it clears stuff. region stuff. the data of it. iconic behaviour honestly.
π¦ SYNOPSIS π¦
void pseudo_lock_region_clear (struct pseudo_lock_region *plr );
that's the whole vibe. returns void, takes one pointer, no drama, no cap. π₯
π ARGUMENTS π
plrβ the pseudo-lock region π (that's it, that's the argument, she's straightforward and we respect her)
πΈ DESCRIPTION πΈ
so basically all content of the pseudo-locked region is reset β and yes, any memory allocated is freed. π«Ά
the way that this function just wipes the whole thing clean... main character energy fr fr. everything in the region? gone. memory that got allocated? freed. iykyk π
β RETURN β
void β she gives you nothing back and honestly? that's the point. no return value, no notes, periodt. π
π SEE ALSO π
okay this list is LONG and we are gonna read every single one of them because that's the respectful thing to do. π€
Kernel file: ./fs/resctrl/pseudo_lock.c
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_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)rdtgroup_pseudo_locked_in_hierarchy(9)pseudo_lock_measure_cycles(9)rdtgroup_pseudo_lock_create(9)rdtgroup_pseudo_lock_remove(9)
go read them all bestie, they're literally all right there π
ok genuine note: this page is from the./fs/resctrlcorner of the tree, dated October 2026, and the footer's calling card is just./fs/resctrl+October 2026+pseudo_lock_region_clear(9). slay, we cited it properly, no plagiarism here πβ¨π¦
π¦ 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