Re: [PATCH net-next] vhost: use "checked" versions of get_user() and put_user()

From: Jon Kohler

Date: Wed Nov 26 2025 - 21:59:25 EST




> On Nov 26, 2025, at 4:45 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, 26 Nov 2025 at 13:43, Jon Kohler <jon@xxxxxxxxxxx> wrote:
>>
>> Linus mentioned he might get into the mix and do a bulk
>> change and kill the whole thing once and for all, so I’m
>> simply trying to help knock an incremental amount of work
>> off the pile in advance of that (and reap some performance
>> benefits at the same time, at least on the x86 side).
>
> So I'm definitely going to do some bulk conversion at some point, but
> honestly, I'll be a lot happier if most users already self-converted
> before that, and I only end up doing a "convert unmaintained old code
> that nobody really cares about".
>
> Linus

That is fair, thanks Linus. I’ll see if I can pick off a couple
more to start thinning out the pile, and see what sort of trouble
I can get into.

Cheers - Jon