Skip to content
  • Andi Kleen's avatar
    [PATCH] x86: Terminate the kernel stacks for the unwinder · 51ec28e1
    Andi Kleen authored
    
    
    Always make sure RIP/EIP is 0 in the registers stored on the top
    of the stack of a kernel thread. This makes sure the unwinder code
    won't try a fallback but knows the stack has ended.
    
    AK: this patch is a bit mysterious. in theory they should be terminated
    anyways, but it seems to fix at least one crash. Anyways double termination
    probably doesn't hurt.
    
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    51ec28e1