Re: flush_dcache_page vs kunmap_local

From: Matthew Wilcox
Date: Thu Nov 04 2021 - 14:40:17 EST


On Thu, Nov 04, 2021 at 08:30:55AM -0700, Linus Torvalds wrote:
> Why did this come up? Do you actually have some hardware or situation
> that cares?

Oh, we're doing review of the XFS/iomap folio patches, which led to
looking at zero_user_segments(), and I realised that memzero_page()
was now functionally identical to zero_user(). And you'd been quite
specific about not having flush_dcache_page() in there, so ... I wondered
if you'd had a change of mind.