]> 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>
Wed, 20 Feb 2013 02:14:34 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:42 +0000 (16:52 +1100)
commit333669b9cfd4fd8382906fb2b29aaf67cbf02f06
tree61bbe7fbecca782b291837dc3d1e89fdd9dd8ba4
parent42e70aef115f520697f70934f13872020b7c410e
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