Re: [PATCH 1/3] x86: fix access_ok() and valid_user_address() using wrong USER_PTR_MAX in modules
From: Linus Torvalds
Date: Tue Nov 04 2025 - 04:47:26 EST
On Tue, 4 Nov 2025 at 17:57, Mateusz Guzik <mjguzik@xxxxxxxxx> wrote:
>
> I would appreciate some feedback on the header split idea though. :)
I don't think it's wrong, but I don't think it buys us much either.
And it does make it harder to see what the bigger pattern is - the
code that initializes the constants is deeply intertwined with the
code that uses it, and you split it up into different files, so now
you can't see what the interdependence is...
Linus