• Andrew Morton's avatar
    [PATCH] Balance inter-zone scan rates · e5f02647
    Andrew Morton authored
    When page reclaim is working out how many pages to san in a zone (max-scan)
    it presently rounds that number up if it looks too small - for work batching.
    
    Problem is, this can result in excessive scanning against small zones which
    have few inactive pages.  So remove it.
    
    Not that it is possible for max_scan to be zero.  That's OK - it'll become
    non-zero as the priority increases.
    e5f02647
vmscan.c 29.3 KB