• Hugh Dickins's avatar
    [PATCH] swapinfo accounting · c6df0ff4
    Hugh Dickins authored
    Randy observed that 2.5 /proc/meminfo SwapFree holds steady
    while SwapTotal goes up and down: wrong way round!
    
    Andrew pointed to wrong conditional in si_swapinfo(): 2.5.4
    updated it incorrectly when new flags bit was briefly added.
    And pointed out that it also makes si_swapinfo much too slow.
    c6df0ff4
swapfile.c 30.8 KB