Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

From: Christoph Hellwig
Date: Thu Sep 03 2020 - 10:30:37 EST


On Thu, Sep 03, 2020 at 03:28:03PM +0100, Al Viro wrote:
> On Thu, Sep 03, 2020 at 04:22:28PM +0200, Christoph Hellwig wrote:
>
> > Besides x86 and powerpc I plan to eventually convert all other
> > architectures, although this will be a slow process, starting with the
> > easier ones once the infrastructure is merged. The process to convert
> > architectures is roughtly:
> >
> > (1) ensure there is no set_fs(KERNEL_DS) left in arch specific code
> > (2) implement __get_kernel_nofault and __put_kernel_nofault
> > (3) remove the arch specific address limitation functionality
>
> The one to really watch out for is sparc; I have something in that
> direction, will resurrect as soon as I'm done with eventpoll analysis...
>
> I can live with this series; do you want that in vfs.git#for-next?

Either that or a separate tree is fine with me. It would be good to
eventually have a non-rebased stable tree so that other arch trees
can work from it, though.