mpam_resctr...e_domain_hdr(9)
β¨ mpam_resctrl_offline_domain_hdr β¨
okay bestie so the manual page is literally called mpam_resctr...e_domain_hdr(9) (yes the title got cut off mid-word, it's giving "text message from someone whose keyboard is broken" π) and it lives in section 9 of the Kernel API Manual. anyway, let's get into it π
π NAME π
mpam_resctrl_offline_domain_hdr β update the domain header to remove a CPU. that's it, that's the job, no cap π
πΈ SYNOPSIS πΈ
bool mpam_resctrl_offline_domain_hdr (unsigned int cpu , struct rdt_domain_hdr *hdr );
π¦ ARGUMENTS π¦
cpuβ the CPU you want to yeet out of the domain. bye bestie πhdrβ the domain's header. that's the thing we're editing, she's the main character here π
β DESCRIPTION β
so what this does is it removes cpu from the header mask. simple. iconic. π«Ά
but here's the plot twist: if that was the last CPU in the domain, then the domain header gets removed from its parent list and true is returned β which is the signal that the parent structure can be freed. ποΈ so true means "she's gone, go ahead and free the parent."
if there are still other CPUs hanging around in the domain, it returns false. nothing else happens. they're still there. no drama. π§
so like, lowkey read that return value carefully, bestie βtrueis your permission slip to free the parent,falsemeans hands off. iykyk π
π₯ SEE ALSO π₯
- Kernel file
./drivers/resctrl/mpam_resctrl.c resctrl_reset_task_closids(9)
and that's the whole vibe check! β¨ this little beauty lives in ./drivers/resctrl and the version stamp is October 2026 β so mark your calendars, she's dated, she's official, she's periodt. πππ
π¦ 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