STRUCT NODE_CACHE_INFO(9)
β¨ struct node_cache_info(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil struct that lives down in ./drivers/base/node.c β it's the internal bookkeeping for memory node caches, and honestly? it's giving backstage-pass energy π
πΈ NAME πΈ
struct node_cache_info β internal tracking for memory node caches π
π¦ SYNOPSIS π¦
struct node_cache_info {
struct device dev;
struct list_head node;
struct node_cache_attrs cache_attrs;
};
like, that's the whole thing. three members. no cap, it's lowkey iconic in its simplicity β¨
π Members π
devβ the device representing the cache level π«Ά (yes, the original spells it "represeting" β we keep the facts, not the typos, but the struct field is exactlydev)nodeβ a list element, there so this cache can be tracked in the node πΈcache_attrsβ the attributes for this cache level, i.e. all the vibe details π
π SEE ALSO π
okay so if you wanna go deeper (and you should, main character energy), go look at the kernel file ./drivers/base/node.c plus these besties:
struct node_access_nodes(9)node_set_perf_attrs(9)node_update_perf_attrs(9)node_add_cache(9)register_memory_node_under_compute_node(9)register_node(9)unregister_node(9)
bestie reminder: this page comes from ./drivers/base in the Kernel API Manual, dated October 2026 ποΈβ¨ ngl that's the whole footer, slay π§
go off, read the source, 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