[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgoBx_GzTQMj_HQGAR+f+7VRJ6JbU9UBfuPHKLfTVMPGQ@mail.gmail.com>
Date: Sat, 12 Jun 2021 16:17:30 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Andreas Gruenbacher <agruenba@...hat.com>,
cluster-devel <cluster-devel@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jan Kara <jack@...e.cz>, Matthew Wilcox <willy@...radead.org>
Subject: Re: [RFC 5/9] iov_iter: Add iov_iter_fault_in_writeable()
On Sat, Jun 12, 2021 at 2:47 PM Al Viro <viro@...iv.linux.org.uk> wrote:
>
> O_DIRECT case is a PITA - there we use GUP and there's no way
> to tell GUP that in the current situation we do *NOT* want to hit
> ->fault()/->page_mkwrite()/etc. pagefault_disable() won't be even
> noticed there...
Well, we could change that.
And we do have get_user_pages_fast_only() these days.
Linus
Powered by blists - more mailing lists