Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

From: H. Peter Anvin
Date: Tue Apr 22 2014 - 13:25:52 EST


On 04/22/2014 10:20 AM, Andrew Lutomirski wrote:
>
> It won't, given the above. I misunderstood what you were checking.
>
> It still seems to me that only #GP needs this special handling. The
> IST entries should never run on the espfix stack, and #MC, #DB, #NM,
> and #SS (I missed that one earlier) use IST.
>
> Would it ever make sense to make #GP use IST as well? That might
> allow espfix_adjust_stack to be removed entirely. I don't know how
> much other fiddling would be needed to make that work.
>

Interesting thought. It might even be able to share an IST entry with #SS.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/