]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/memory.c
mm: use flush_icache_pages() in do_set_pmd()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Aug 2023 15:14:01 +0000 (16:14 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:25 +0000 (16:20 -0700)
commit9f1f5b60e76d44fa85fef6970b7477f72d3999eb
tree31c4dac4c4254c9cada0af19fe030edf507c017c
parentaf4fcb0729329cc4b3f6977d7f75562a00174bd1
mm: use flush_icache_pages() in do_set_pmd()

Push the iteration over each page down to the architectures (many can
flush the entire THP without iteration).

Link: https://lkml.kernel.org/r/20230802151406.3735276-34-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c