STRUCT NODE_CACHE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 exactly dev)
  • 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:


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