Re: [OpenRISC] [PATCH] openrisc: remove CONFIG_SET_FS

From: Geert Uytterhoeven
Date: Sun Feb 06 2022 - 04:52:22 EST


Hi Stafford,

Thanks for your patch!

On Sun, Feb 6, 2022 at 2:37 AM Stafford Horne <shorne@xxxxxxxxx> wrote:
> Remove the address space override API set_fs() used for User Mode Linux.

Note: this doesn't have anything to do with UML...

> User address space is now limited to TASK_SIZE.
>
> To support this we implement and wire in __get_kernel_nofault and
> __set_kernel_nofault.
>
> The function user_addr_max is removed as there is a default definition
> provided when CONFIG_SET_FS is not used.
>
> Signed-off-by: Stafford Horne <shorne@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds