Re: [PATCH] usercopy: use unsigned long instead of uintptr_t

From: Linus Torvalds
Date: Thu Jun 16 2022 - 15:19:21 EST


On Thu, Jun 16, 2022 at 12:14 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> In that situation, we'd probably just see "long long" being 128-bit
> ("I32LP64LL128").

Looking around, it looks like people prefer "long long long" (or in
the kernel, just "u128") for this, because so many have already gotten
used to "long long" being 64-bit, and 32-bit architectures (where
"long" is 32-bit and "long long" is 64-bit) are still relevant enough
that people want to keep that.

Linus