lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCHSET] iov_iter work
On Sun, Jun 06, 2021 at 03:46:37PM -0700, Linus Torvalds wrote:
> And yes, I realize that 'uaccess_kernel()' is hopefully always false
> on any architectures we care about and so the compiler would just pick
> one at compile time rather than actually having both those
> initializers.
>
> But I think that "the uaccess_kernel() KVEC case is legacy for
> architectures that haven't converted to the new world order yet" thing
> is just even more of an argument for not duplicating and writing the
> code out in full on a source level (and making that normal case be
> ".iov = iov").

It can't even happen for the legacy architectures, given that the
remaining set_fs() areas are small and never do iov_iter based I/O.

\
 
 \ /
  Last update: 2021-06-07 11:30    [W:0.208 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site