Re: [PATCH 1/2] mm: call flush_dcache_page in memcpy_to_page and memzero_page

From: Andrew Morton
Date: Tue Jul 13 2021 - 21:31:26 EST


On Tue, 13 Jul 2021 07:52:30 +0200 Christoph Hellwig <hch@xxxxxx> wrote:

> memcpy_to_page and memzero_page can write to arbitrary pages, which could
> be in the page cache or in high memory, so call flush_kernel_dcache_pages
> to flush the dcache.

I assume this presently is not known to cause any problems, but that
some problems might be discovered in the future? In which case,
should we cc:stable?