On Mon, Nov 20, 2017 at 3:37 PM, Thomas Gleixner wrote:
> On Mon, 20 Nov 2017, Andy Lutomirski wrote:
>> struct tss_struct {
>> /*
>> - * The hardware state:
>> + * Space for the temporary SYSENTER stack. Used for the entry
>> + * trampoline as well. Size it such that tss_s
On Mon, 20 Nov 2017, Andy Lutomirski wrote:
> struct tss_struct {
> /*
> - * The hardware state:
> + * Space for the temporary SYSENTER stack. Used for the entry
> + * trampoline as well. Size it such that tss_struct ends up
> + * as a multiple of PAGE_SIZE. This calcu
I want SYSENTER_stack to have reliable overflow detection, which
means that it needs to be at the bottom of a page, not the top.
Move it to the beginning of struct tss_struct and page-align it.
Also add an assertion to make sure that the fixed hardware TSS
doesn't cross a page boundary.
Signed-of
3 matches
Mail list logo