lkml.org 
[lkml]   [2015]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [REGRESSION] 998ef75ddb and aio-dio-invalidate-failure w/ data=journal

* H. Peter Anvin <hpa@zytor.com> wrote:

> On October 5, 2015 1:22:44 PM PDT, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> >
> > We could probably do them outside the loop, rather than tightly around the
> > actual move instructions. Peter (hpa), is there some sane interface to try to
> > do that?
>
> There are... in particular the get_user_try/catch mechanism, used among other
> things by the signal handing, as well as the copy functions (I don't have the
> original code in front of me so I don't have the context which would be
> appropriate.)

Yes, but note that those interfaces are x86 only at the moment, so they'd have to
be factored out and generalized before we can use it in generic code.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-10-06 10:21    [W:0.103 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site