Re: [REGRESSION] 998ef75ddb and aio-dio-invalidate-failure w/ data=journal
From: Ingo Molnar <mingo@kernel.org>
Date: 2015-10-06 07:56:57
Also in:
lkml
From: Ingo Molnar <mingo@kernel.org>
Date: 2015-10-06 07:56:57
Also in:
lkml
* H. Peter Anvin [off-list ref] wrote:
On October 5, 2015 1:22:44 PM PDT, Linus Torvalds [off-list ref] wrote:quoted
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