summaryrefslogtreecommitdiff
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2012-01-11 15:31:33 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-05-21 15:09:31 +0200
commit6d4a49160de2c684fb59fa627bce80e200224331 (patch)
tree942b758d78d7ce94569369f12f680488d467eb95 /mm/vmstat.c
parent041d3a8cdc18dc375a128d90bbb753949a81b1fb (diff)
downloadlinux-3.10-6d4a49160de2c684fb59fa627bce80e200224331.tar.gz
linux-3.10-6d4a49160de2c684fb59fa627bce80e200224331.tar.bz2
linux-3.10-6d4a49160de2c684fb59fa627bce80e200224331.zip
mm: page_alloc: change fallbacks array handling
This commit adds a row for MIGRATE_ISOLATE type to the fallbacks array which was missing from it. It also, changes the array traversal logic a little making MIGRATE_RESERVE an end marker. The letter change, removes the implicit MIGRATE_UNMOVABLE from the end of each row which was read by __rmqueue_fallback() function. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Mel Gorman <mel@csn.ul.ie> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Tested-by: Rob Clark <rob.clark@linaro.org> Tested-by: Ohad Ben-Cohen <ohad@wizery.com> Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Tested-by: Robert Nelson <robertcnelson@gmail.com> Tested-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions