• Andi Kleen's avatar
    [PATCH] x86-64: Fix race in exit_idle · 9446868b
    Andi Kleen authored
    When another interrupt happens in exit_idle the exit idle notifier
    could be called an incorrect number of times.
    
    Add a test_and_clear_bit_pda and use it handle the bit
    atomically against interrupts to avoid this.
    
    Pointed out by Stephane Eranian
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    9446868b
process.c 20.7 KB