]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: vmscan: remove reclaim_mode_t
authorMel Gorman <mgorman@suse.de>
Wed, 25 Apr 2012 01:03:31 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:19 +0000 (15:17 +1000)
commit2cda6a43350e4cade0618c0fd1b1040bb0d8e6cb
tree69052c11e1e9dfeafb4f451b28da0ac79ec35b9b
parent09ea3ce3af11e34102595c0860a7826ce122ed2a
mm: vmscan: remove reclaim_mode_t

There is little motiviation for reclaim_mode_t once RECLAIM_MODE_[A]SYNC
and lumpy reclaim have been removed.  This patch gets rid of
reclaim_mode_t as well and improves the documentation about what
reclaim/compaction is and when it is triggered.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ying Han <yinghan@google.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/trace/events/vmscan.h
mm/vmscan.c