summaryrefslogtreecommitdiff
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2013-11-12 23:08:18 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 03:09:09 (GMT)
commit5d0f3f72efb1c1968ce1f56c58f9e3e6495effa6 (patch)
tree305b30145ede375a9fd146304540f2c3c9af9748 /mm/oom_kill.c
parentaf248a0c67457e5c6d2bcf288f07b4b2ed064f1f (diff)
downloadlinux-fsl-qoriq-5d0f3f72efb1c1968ce1f56c58f9e3e6495effa6.tar.xz
mm: fix page_group_by_mobility_disabled breakage
Currently, set_pageblock_migratetype() screws up MIGRATE_CMA and MIGRATE_ISOLATE if page_group_by_mobility_disabled is true. It rewrites the argument to MIGRATE_UNMOVABLE and we lost these attribute. The problem was introduced by commit 49255c619fbd ("page allocator: move check for disabled anti-fragmentation out of fastpath"). So a 4 year old issue may mean that nobody uses page_group_by_mobility_disabled. But anyway, this patch fixes the problem. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions