* H. Peter Anvin <[email protected]> wrote:
> On October 5, 2015 1:22:44 PM PDT, Linus Torvalds
> <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/