Re: stop using ->read and ->write for kernel access v3

2020-07-07 Thread Christoph Hellwig
On Tue, Jul 07, 2020 at 01:24:01PM -0700, Linus Torvalds wrote: > On Tue, Jul 7, 2020 at 10:48 AM Christoph Hellwig wrote: > > > > Hi Al and Linus (and Stephen, see below), > > > > as part of removing set_fs entirely (for which I have a working > > prototype), we need to stop calling ->read and ->

Re: stop using ->read and ->write for kernel access v3

2020-07-07 Thread Stephen Rothwell
Hi Christoph, On Tue, 7 Jul 2020 19:47:38 +0200 Christoph Hellwig wrote: > > A git branch is available here: > > git://git.infradead.org/users/hch/misc.git set_fs-rw > > Gitweb: > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/set_fs-rw > > Given that this has been

Re: stop using ->read and ->write for kernel access v3

2020-07-07 Thread Linus Torvalds
On Tue, Jul 7, 2020 at 10:48 AM Christoph Hellwig wrote: > > Hi Al and Linus (and Stephen, see below), > > 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. I'd be willing to pick up patche

stop using ->read and ->write for kernel access v3

2020-07-07 Thread Christoph Hellwig
Hi Al and Linus (and Stephen, see below), 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. This removes the option to call ->read and ->write with kernel pointers entirely. The replacements a

[RFC] stop using ->read and ->write for kernel access v3

2020-07-01 Thread Christoph Hellwig
Hi Al and Linus (and Stephen, see below), 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. This removes the option to call ->read and ->write with kernel pointers entirely. The replacements a