Re: [PATCH] x86/asm/memcpy_mcsafe: Fix copy_to_user_mcsafe() exception handling

From: Al Viro
Date: Wed Jul 04 2018 - 18:39:02 EST

On Tue, Jul 03, 2018 at 10:30:40AM +0200, Ingo Molnar wrote:
> * Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
> > Hi Ingo,
> >
> > Here is an additional copy_to_iter_mcsafe() fix to address the crash
> > reported by Ross. This now passes xfstests:generic/323 on my system.
> The lib/iov_iter fix would need an Acked-by from Al.

I can live with that; I would really like to see some documentation on
the copy_to_iter_mcsafe(), but that's a separate story. Incidentally,
are there any expectations of other callers appearing, or is that
(and copy_from_iter_flushcache()) YASingleConsumerAPI?