octeon_flush_cache_mm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octeon_flush_cache_mm (9) β€” from the Kernel API Manual, bestie πŸ’–

okay so picture this: you're on a MIPS Octeon box, you've got a whole memory context β€” like, an entire mm_struct β€” and its cached contents need to GO. That's this function. It's the "nuke everything for this mm" button, and honestly? iconic.


✨ NAME ✨

octeon_flush_cache_mm β€” flush all memory associated with a memory context. that's it, that's the whole job. no crumbs left behind. πŸ§ΉπŸ’…


🌸 SYNOPSIS 🌸

void octeon_flush_cache_mm (struct mm_struct *mm );

it's a void β€” so, like, it gives you nothing back 🫢 β€” and it takes exactly one thing, which brings us to:


πŸŽ€ ARGUMENTS πŸŽ€

  • mm β€” the memory context to flush. yes, that one. hand it your struct mm_struct * and it does the thing. this is the "which mm are we wiping" parameter, fr fr. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

friends of the family! go say hi:


πŸ’€ real talk: this is the whole-context flush, so it's giving "main character energy" β€” it's big, it's broad, it's not subtle. the granular ones up there in SEE ALSO exist for a reason, iykyk.

okay that's the page, periodt. πŸŽ€βœ¨ no cap, you're now an Octeon cache-flush girlie.

./arch/mips/mm Β· October 2026 Β· mwah, love u, bye! πŸ’–πŸ¦‹πŸŒˆ

πŸ“¦ where this page comes from