Re: [RFC] stop using ->read and ->write for kernel access v2

From: Linus Torvalds
Date: Sat Jun 27 2020 - 18:15:22 EST


On Fri, Jun 26, 2020 at 12:58 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> as part of removing set_fs entirely (for which I have a working
> prototype), we need to stop calling ->read and ->write with kernel
> pointers under set_fs.
>
> My previous "clean up kernel_{read,write} & friends v5" series, on which
> this one builds, consolidate those calls into the __áernel_{read,write}
> helpers. This series goes further and removes the option to call
> ->read and ->write with kernel pointers entirely.

Ack. I scanned through these and didn't find anything odd.

Which either means that it's all good, or that my scanning was too
limited. But this does feel like the right way to go about things.

Al?

Linus