Re: [PATCH v7 05/19] iov_iter: Introduce fault_in_iov_iter_writeable

From: Matthew Wilcox
Date: Sat Aug 28 2021 - 21:44:11 EST


On Sat, Aug 28, 2021 at 03:20:58PM -0700, Tony Luck wrote:
> On Sat, Aug 28, 2021 at 3:12 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> > BTW, is #MC triggered on stored to a poisoned cacheline? Existence of CLZERO
> > would seem to argue against that...
>
> No #MC on stores. Just on loads. Note that you can't clear poison
> state with a series of small writes to the cache line. But a single
> 64-byte store might do it (architects didn't want to guarantee that
> it would work when I asked about avx512 stores to clear poison
> many years ago).

Dave Jiang thinks MOVDIR64B clears poison.

http://archive.lwn.net:8080/linux-kernel/157617505636.42350.1170110675242558018.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxx/