• Andrew Morton's avatar
    [PATCH] vmscan: avoid bogus throttling · bcf2fb27
    Andrew Morton authored
    - If max_scan evaluates to zero due to a very small inactive list and high
      `priority' numbers, we don't want to thrlttle yet.
    
    - In balance_pgdat(), we may end up not scanning any pages because all
      zones happened to be above pages_high.  Avoid throttling in this case too.
    bcf2fb27
vmscan.c 29.4 KB