[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210713055231.137602-1-hch@lst.de>
Date: Tue, 13 Jul 2021 07:52:29 +0200
From: Christoph Hellwig <hch@....de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Ira Weiny <ira.weiny@...el.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: fix memcpy_to_page and memzero_page
Hi all,
we need to call flush_dcache_page on any kmapped page, and on any page
we write to that may be mapped into the page cache, which can happen
quite frequently for anything we use raw pages for.
Patch 1 make sure memcpy_to_page and memzero_page to do the right thing
for that, and patch 2 fixes up the lost switch to kmap_local_page for
memzero_page.
Powered by blists - more mailing lists