• Andrew Morton's avatar
    [PATCH] Make swapper_space tree_lock irq-safe · b6c418dc
    Andrew Morton authored
    ->tree_lock is supposed to be IRQ-safe.  Hugh worked out that with his
    changes, we never actually take it from interrupt context, so spin_lock() is
    sufficient.
    
    Apart from kinda freaking me out, the analysis which led to this decision
    becomes untrue with later patches.  So make it irq-safe.
    b6c418dc
swapfile.c 41.1 KB