]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: vmscan: remove reclaim_mode_t
authorMel Gorman <mgorman@suse.de>
Thu, 12 Apr 2012 22:51:59 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:18 +0000 (13:47 +1000)
commitce28503e67be4c99cef787ba37ddeb2ed8f4d030
tree964d06795ae012e17b1d8ac46126a44972eb19bc
parentc4c11eab6da7a50d7e7345a89859143a989e1335
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>
Cc: Rik van Riel <riel@redhat.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Hugh Dickins <hughd@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