* + mm-fix-page_group_by_mobility_disabled-breakage.patch added to -mm tree
@ 2013-10-29 21:08 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-10-29 21:08 UTC (permalink / raw)
To: mm-commits, mgorman, kosaki.motohiro
Subject: + mm-fix-page_group_by_mobility_disabled-breakage.patch added to -mm tree
To: kosaki.motohiro@jp.fujitsu.com,mgorman@suse.de
From: akpm@linux-foundation.org
Date: Tue, 29 Oct 2013 14:08:06 -0700
The patch titled
Subject: mm: fix page_group_by_mobility_disabled breakage
has been added to the -mm tree. Its filename is
mm-fix-page_group_by_mobility_disabled-breakage.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-fix-page_group_by_mobility_disabled-breakage.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-fix-page_group_by_mobility_disabled-breakage.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Subject: 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 49255c619f ("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>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN mm/page_alloc.c~mm-fix-page_group_by_mobility_disabled-breakage mm/page_alloc.c
--- a/mm/page_alloc.c~mm-fix-page_group_by_mobility_disabled-breakage
+++ a/mm/page_alloc.c
@@ -234,8 +234,8 @@ int page_group_by_mobility_disabled __re
void set_pageblock_migratetype(struct page *page, int migratetype)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-29 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-29 21:08 + mm-fix-page_group_by_mobility_disabled-breakage.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.