mm: Add flush_dcache_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 16 Dec 2020 16:06:33 +0000 (11:06 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Oct 2021 11:49:36 +0000 (07:49 -0400)
commit08b0b0059bf1c2e8637f724cc7cc4d29b1e808de
tree795315583bdbd72e41a2509662d48f377d477893
parent646010009d3541b8cb4f803dcb4b8d0da2f22579
mm: Add flush_dcache_folio()

This is a default implementation which calls flush_dcache_page() on
each page in the folio.  If architectures can do better, they should
implement their own version of it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
12 files changed:
Documentation/core-api/cachetlb.rst
arch/arc/include/asm/cacheflush.h
arch/arm/include/asm/cacheflush.h
arch/m68k/include/asm/cacheflush_mm.h
arch/mips/include/asm/cacheflush.h
arch/nds32/include/asm/cacheflush.h
arch/nios2/include/asm/cacheflush.h
arch/parisc/include/asm/cacheflush.h
arch/sh/include/asm/cacheflush.h
arch/xtensa/include/asm/cacheflush.h
include/asm-generic/cacheflush.h
mm/util.c