Re: [PATCH RFC 0/3] fs/pipe: copy a run of pipe buffers in one user access section
From: Christian Brauner
Date: Fri Nov 20 2026 - 07:27:49 EST
> Based on that discussion, I'd think that the better way would be to make
> x86's unsafe_copy_to_user() use the rep movs body from patch 1 for
> larger copies. Then copy_bvecs_to_iter_full() can be written with
> scoped_user_write_access_size() and unsafe_copy_to_user() for every
> architecture, without the #ifdef.
Yes.