• Andrew Morton's avatar
    [PATCH] make add_to_swap_cache() static · 8dae6768
    Andrew Morton authored
    From: Hugh Dickins <hugh@veritas.com>
    
    Make add_to_swap_cache static, it's only used by read_swap_cache_async;
    and since that has just done a GFP_HIGHUSER allocation, surely it's
    better for add_to_swap_cache to use GFP_KERNEL than GFP_ATOMIC.
    8dae6768
swap_state.c 9.84 KB