]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: vmscan: remove reclaim_mode_t
authorMel Gorman <mgorman@suse.de>
Thu, 3 May 2012 05:43:33 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:22 +0000 (15:46 +1000)
commit720d57eb80fb0f2b96a8b5bf9386ff01b1787a5e
tree6607125fa6214120a9c7c2f831073993a014841f
parent510e83aeb6deb6d68b58806152956e9e0e794a04
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