Messages in this thread | | | Date | Tue, 6 Oct 2015 09:56:52 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |