node_update_perf_attrs(9)
π node_update_perf_attrs(9) β like, the Kernel API Manual, bestie β¨
Okay so picture this: it's giving "kernel API manual" energy, and the function is literally called node_update_perf_attrs. Say that five times fast, I dare you. π«Ά
β¨ NAME β¨
node_update_perf_attrs β updates the performance values for a given access class. That's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
void node_update_perf_attrs (unsigned int nid , struct access_coordinate
*coord , enum access_coordinate_class access );
She returns void, bestie β no little return value to obsess over, she just does the thing. π
π¦ ARGUMENTS π¦
nidβ the node identifier that's getting updated. Like, which node are we doing a glow-up on today? πcoordβ the heterogeneous memory performance coordinates. Yes, it's as much of a mouthful as it sounds, but she's iconic and she's carrying the actual perf numbers. βaccessβ the access class for the given attributes, i.e. which category of access these values belong to. Gotta label your stuff, periodt. π·οΈ
π₯ SEE ALSO π₯
The whole squad, fr fr β go check these out:
- Kernel file
./drivers/base/node.c struct node_access_nodes(9)node_set_perf_attrs(9)struct node_cache_info(9)node_add_cache(9)register_memory_node_under_compute_node(9)register_node(9)unregister_node(9)
Like, read the whole friend group, iykyk. π
ngl this page is lowkey short but she ate. No caveats, no weird bugs, no "undefined behaviour" jumpscare β just a clean little update function living her best life. π
And that's the tea, bestie π β this cutie came to you from ./drivers/base (source/version tea), dated October 2026, and yes she's still serving node_update_perf_attrs(9) realness. Mwah! πππ§
π¦ 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