STRUCT NODE_ACCESS_NODES(9)
π struct node_access_nodes(9) β¨
okay so bestie, welcome to the Kernel API Manual π«Ά β this one's a lil struct that's basically the group chat link between a memory access class and all the other nodes it's connected to. Let's get into it. π¦
πΈ NAME
struct node_access_nodes β bestie it's an Access class device whose whole job is holding the user-visible relationships to other nodes. that's it, that's the vibe. π
β¨ SYNOPSIS
struct node_access_nodes {
struct device dev;
struct list_head list_node;
unsigned int access;
#ifdef CONFIG_HMEM_REPORTING;
struct access_coordinate coord;
#endif;
};
like, look at her. iconic. π
π Members
devβ the Device for this memory access class, the main character energy of the whole struct fr fr π«list_nodeβ a List element hanging out in the node's access list, just vibing in the chain πaccessβ The access class rank, aka the popularity ranking, the who's-who of access classes βcoordβ the Heterogeneous memory performance coordinates, and ngl she's lowkey gatekept behindCONFIG_HMEM_REPORTINGso don't come for her if she's not there π
heads up bestie:coordonly exists whenCONFIG_HMEM_REPORTINGis defined, so if you built without it, that member said "not me being absent" π
π₯ SEE ALSO
- Kernel file
./drivers/base/node.cβ go read the source, iykyk π node_set_perf_attrs(9)node_update_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)
that's the whole page babes, no notes. π
mwah π β this came from ./drivers/base, dated October 2026, and yes she's serving struct node_access_nodes(9) realness till the very last line. slay πβ¨
π¦ 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