• Andrew Morton's avatar
    [PATCH] vmscan: batch up inactive list scanning work · ceb37d32
    Andrew Morton authored
    From: Nick Piggin <piggin@cyberone.com.au>
    
    Use a "refill_counter" for inactive list scanning, similar to the one used
    for active list scanning.  This batches up scanning now that we precisely
    balance ratios, and don't round up the amount to be done.
    
    No observed benefits, but I imagine it would lower the acquisition
    frequency of the lru locks in some cases, and make codepaths more efficient
    in general due to cache niceness.
    ceb37d32
vmscan.c 30.9 KB