]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: don't wait on congested zones in balance_pgdat()
authorZlatko Calusic <zlatko.calusic@iskon.hr>
Thu, 7 Feb 2013 01:26:45 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:37 +0000 (16:46 +1100)
commitaa239ab2bdffd3c50f7979b78f1c2a8e66d1d5c5
treef3b4cf7e5a43e822a0f1013f6e03b1a84927d921
parent9024ec170c334f7261ec106c7e067cc4a9040bfb
mm: don't wait on congested zones in balance_pgdat()

Commit 92df3a72 (mm: vmscan: throttle reclaim if encountering too many
dirty pages under writeback) introduced waiting on congested zones
based on a sane algorithm in shrink_inactive_list(). What this means
is that there's no more need for throttling and additional heuristics
in balance_pgdat(). So, let's remove it and tidy up the code.

Signed-off-by: Zlatko Calusic <zlatko.calusic@iskon.hr>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/vm_event_item.h
mm/vmscan.c
mm/vmstat.c