Re: [PATCH v4 14/17] x86/asm/entry/64: Migrate error and interrupt exit work to C

Ingo Molnar
2015-07-03T06:33:27Z

* Andy Lutomirski <luto@amacapital.net> wrote:

> If we move even more of this stuff into C, then this problem goes away. "call
> enter_from_user_mode" turns into "enter_from_user_mode()" or similar.

Yes. I think we should first see how that process works out, and then see what
else can be done. For the initial step I'm willing to trade up to 10 cycles in
exchange for sane and maintainable x86 entry code that we can then speed up ...

I presume we are still within that budget?

Thanks,

Ingo