of_find_last_cache_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ of_find_last_cache_level(9) πŸ¦‹

okay so this little icon is straight from the Kernel API Manual, and she's here to answer one very specific question: where's the last cache level at? no cap, that's the vibe πŸ’…


✨ NAME ✨

of_find_last_cache_level β€” finds the level at which the last cache is present for the given logical cpu. that's the whole function, and she ate 🫢


✨ SYNOPSIS ✨

the signature is literally this, bestie:

int of_find_last_cache_level (unsigned int cpu );

✨ ARGUMENTS ✨

  • cpu β€” the cpu number (logical index) for which the last cache level is needed. lowkey the only argument, and she's giving main character energy πŸ‘‘

✨ RETURN ✨

returns the level at which the last cache is present. it's exactly the same as the total number of cache levels for the given logical cpu β€” fr fr, that's the number you get back 🌸


✨ SEE ALSO ✨

the SEE ALSO section is a whole group chat 🫢 β€” here's every single reference, no cap:


xoxo, your Kernel API Manual bestie πŸ’– β€” sourced from <code>./drivers/of</code>, dated <code>October 2026</code>, and this page is <code>of_find_last_cache_level(9)</code>. periodt. ✨

πŸ“¦ where this page comes from