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

Linus Torvalds torvalds at linux-foundation.org
Tue Apr 28 07:39:20 AEST 2026


On Mon, 27 Apr 2026 at 14:29, David Laight <david.laight.linux at gmail.com> 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


More information about the Linuxppc-dev mailing list