Re: [RFC PATCH v1 5/9] uaccess: Switch to copy_{to/from}_user_partial() when relevant

From: Linus Torvalds

Date: Mon Apr 27 2026 - 17:41:29 EST


On Mon, 27 Apr 2026 at 14:29, David Laight <david.laight.linux@xxxxxxxxx> wrote:
>
> I think there is a slight difference in that the normal copy_to_user()
> will determine the exact offset of the error by retrying with byte copies.

I have this dim memory that we decided that you can't reply on byte
exactness anyway, because not all architectures gave that guarantee
for the user copies.

But that thing came up many years ago, I might mis-remember.

Linus