]> Gentwo Git Trees - linux/.git/commit
mips: mm: convert __flush_dcache_pages() to __flush_dcache_folio_pages()
authorDavid Hildenbrand <david@redhat.com>
Mon, 1 Sep 2025 15:03:42 +0000 (17:03 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:06 +0000 (14:22 -0700)
commitb71ddc9ecc4d142465617d60e16a8a6ff154fdea
tree86705732a210a9b98851856996e9648bbc30ac42
parentd99c57546d8f8ae4bcd2b5a83d77e248756f0cd1
mips: mm: convert __flush_dcache_pages() to __flush_dcache_folio_pages()

Let's make it clearer that we are operating within a single folio by
providing both the folio and the page.

This implies that for flush_dcache_folio() we'll now avoid one more
page->folio lookup, and that we can safely drop the "nth_page" usage.

While at it, drop the "extern" from the function declaration.

Link: https://lkml.kernel.org/r/20250901150359.867252-22-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/include/asm/cacheflush.h
arch/mips/mm/cache.c