Re: [PATCH] fs: use KERNEL_DS instead of get_ds()
From: Christoph Hellwig
Date: Fri Mar 08 2019 - 09:01:54 EST
On Mon, Mar 04, 2019 at 04:23:06PM -0800, Linus Torvalds wrote:
> Your script is disgusting, and I will not quote it for posterity for
> that reason. I will just say that git has a "path exclusion" thing
> that you can use to make it much more streamlined.
>
> And I ended up going a bit further, and just got rid of it all in
> commit 736706bee329 ("get rid of legacy 'get_ds()' function")
Any chance we could just retire the legacy FS/DS names that are
horribly misleading these days? E.g. turn the whole thing into:
uaccess_kernel_enable();
...
uaccess_kernel_disable();
which for now turn into the existing calls with a nesting counter
in task_struct, with the hopes of cleaning all that mess up
eventually.