Re: remove set_fs for UML

Richard Weinberger
2021-12-21T21:05:07Z

Christoph,

----- Ursprüngliche Mail -----
> Von: "hch" <hch@lst.de>
> An: "richard" <richard@nod.at>, "anton ivanov" <anton.ivanov@cambridgegreys.com>
> CC: "x86" <x86@kernel.org>, "linux-um" <linux-um@lists.infradead.org>, "linux-kernel" <linux-kernel@vger.kernel.org>
> Gesendet: Mittwoch, 15. Dezember 2021 17:56:10
> Betreff: remove set_fs for UML

> Hi Richard and Anton,
>
> this series removes address space overrides using set_fs for UML.
>
> Diffstat:
> um/Kconfig | 1 -
> um/include/asm/thread_info.h | 4 ----
> um/include/asm/uaccess.h | 21 +++++++++++++++++++--
> um/kernel/skas/uaccess.c | 25 -------------------------
> x86/include/asm/mtrr.h | 8 +-------
> x86/kernel/setup.c | 7 ++++++-
> x86/um/asm/segment.h | 8 --------
> 7 files changed, 26 insertions(+), 48 deletions(-)

So far UML seems to work with these changes applied. :-)
I have applied both patches to my UML tree for now, I assume x86 maintainers are fine with
patch 1/2?

Thanks.
//richard