flush_dcache_range_chunked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… flush_dcache_range_chunked(9) πŸ’…

okay so bestie, this page comes from the Kernel API Manual, and it's giving β€œclean up the data cache, but make it chunked” energy. Let’s get into it πŸ’–

✨ NAME ✨

flush_dcache_range_chunked β€” write any modified data cache blocks out to memory and invalidate them, in chunks of up to FLUSH_CHUNK_SIZE. Does not invalidate the corresponding instruction cache blocks. periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

void flush_dcache_range_chunked (unsigned long start , unsigned long stop , unsigned long chunk );

πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” the start address. literally where the cache-flushing moment begins ✨
  • stop β€” the stop address (exclusive). so it stops before this one, no sneaky inclusive behavior πŸ’…
  • chunk β€” the max size of the chunks. keeps the whole thing from being one giant main-character flush 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./arch/powerpc/platforms/powernv/memtrace.c β€” go peek if you want the context, iykyk πŸ‘‘

and that’s the whole vibe, bestie. This one’s from the Kernel API Manual, sourced from ./arch/powerpc/platforms/powernv, dated October 2026 β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from