octeon_flush_cache_mm(9)
π
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 yourstruct 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:
- Kernel file
./arch/mips/mm/c-octeon.cβ the β¨ source of truth β¨, all the lore lives here octeon_flush_icache_all_cores(9)β when you need every core's icache in on itocteon_flush_cache_range(9)β the ranged version, for when you're being β¨selectiveβ¨octeon_flush_cache_page(9)β tiny single-page energy, one page at a time π
π 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
- 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