mpam_register_requestor(9)
π mpam_register_requestor(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for mpam_register_requestor(9), and it's literally about registering a requestor with the MPAM driver. no cap, that's the whole vibe.
πΈ NAME πΈ
mpam_register_requestor β Register a requestor with the MPAM driver.
β¨ SYNOPSIS β¨
int mpam_register_requestor (u16 partid_max , u8 pmg_max );
π ARGUMENTS π
partid_maxβ The maximum PARTID value the requestor can generate. That's the ceiling, bestie.pmg_maxβ The maximum PMG value the requestor can generate. Also a ceiling, fr fr.
π¦ DESCRIPTION π¦
So this function registers a requestor with the MPAM driver. The point? It makes sure the chosen system-wide minimum PARTID and PMG values will allow the requestor's features to be used. it's giving βlet's get the system-wide minimum PARTID and PMG values aligned so the requestor's features can be usedβ energy.
It returns an error if the registration is too late, and a larger PARTID/PMG value has been advertised to user-space. In that case, the requestor should not use its MPAM features β periodt. The function returns 0 on success.
π¨ real talk: too late + a larger PARTID/PMG value already advertised to user-space means error, and the requestor should not use its MPAM features. no cap, that's the caveat.
π SEE ALSO π
- Kernel file
./include/linux/arm_mpam.hβ go peek, iykyk.
later, bestie β this page's source/version is ./include/linux, dated October 2026 πβ¨
π¦ 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