• Brian Gerst's avatar
    x86: move stack_canary into irq_stack · 947e76cd
    Brian Gerst authored
    Impact: x86_64 percpu area layout change, irq_stack now at the beginning
    
    Now that the PDA is empty except for the stack canary, it can be removed.
    The irqstack is moved to the start of the per-cpu section.  If the stack
    protector is enabled, the canary overlaps the bottom 48 bytes of the irqstack.
    
    tj: * updated subject
        * dropped asm relocation of irq_stack_ptr
        * updated comments a bit
        * rebased on top of stack canary changes
    Signed-off-by: default avatarBrian Gerst <brgerst@gmail.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    947e76cd
setup_percpu.c 9.76 KB