rdtgroup_pseudo_lock_create(9)
okay so bestie, welcome to rdtgroup_pseudo_lock_create(9) β the kernel API manual page for creating a pseudo-locked region. itβs giving lowkey resctrl realness, and weβre gonna read it together πβ¨
π NAME π
rdtgroup_pseudo_lock_create β Create a pseudo-locked region πΈ
π¦ SYNOPSIS π¦
int rdtgroup_pseudo_lock_create (struct rdtgroup *rdtgrp );
π ARGUMENTS π
rdtgrpβ the resource group to which the pseudo-lock region belongs. like, this is the group bestie, no cap π«Ά
β¨ DESCRIPTION β¨
So this function gets called when a resource group thatβs chilling in pseudo-locksetup mode receives a valid schemata that should be pseudo-locked. because the resource group is in pseudo-locksetup mode, the struct pseudo_lock_region has already been allocated and initialized with the essential information. iconic setup behavior, honestly π
small but important note: if a failure occurs, the resource group remains in thepseudo-locksetupmode with thestruct pseudo_lock_regionassociated with it, but cleared from all information and ready for the user to re-attempt pseudo-locking by writing the schemata again. so itβs not down bad forever β itβs ready for a retry πβ¨
π RETURN π
0if the pseudo-locked region was successfully pseudo-locked,<0on failure.- a descriptive error will be written to the
last_cmd_statusbuffer. yes bestie, it tells you what went wrong π©·
π₯ SEE ALSO π₯
kernel file ./fs/resctrl/pseudo_lock.c β and hereβs the whole bestie lineup:
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)rdtgroup_pseudo_locked_in_hierarchy(9)pseudo_lock_measure_cycles(9)rdtgroup_pseudo_lock_remove(9)
mwah π thatβs the whole page β source/version: ./fs/resctrl, date: October 2026, page: rdtgroup_pseudo_lock_create(9). ily, byeee π«Άπ
π¦ 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