From: Marek Szyprowski <m.szyprowski@samsung.com>
To: 'Michal Nazarewicz' <mina86@mina86.com>,
'Andrew Morton' <akpm@linux-foundation.org>,
'Minchan Kim' <minchan@kernel.org>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: RE: [PATCH] cma: fix migration mode
Date: Fri, 11 May 2012 10:13:12 +0200 [thread overview]
Message-ID: <02fb01cd2f4d$e8cbccb0$ba636610$%szyprowski@samsung.com> (raw)
In-Reply-To: <op.wd4gqhfm3l0zgt@mpn-glaptop>
Hello,
On Friday, May 11, 2012 4:19 AM Michal Nazarewicz wrote:
> On Thu, 10 May 2012 08:33:23 -0700, Minchan Kim <minchan@kernel.org> wrote:
> > __alloc_contig_migrate_range calls migrate_pages with wrong argument
> > for migrate_mode. Fix it.
> >
> > Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> > Signed-off-by: Minchan Kim <minchan@kernel.org>
>
> Acked-by: Michal Nazarewicz <mina86@mina86.com>
>
> > ---
> > mm/page_alloc.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> > index 4d926f1..9febc62 100644
> > --- a/mm/page_alloc.c
> > +++ b/mm/page_alloc.c
> > @@ -5689,7 +5689,7 @@ static int __alloc_contig_migrate_range(unsigned long start, unsigned
> long end)
> > ret = migrate_pages(&cc.migratepages,
> > __alloc_contig_migrate_alloc,
> > - 0, false, true);
> > + 0, false, MIGRATE_SYNC);
> > }
> > putback_lru_pages(&cc.migratepages);
>
Thanks for the patch, I will add it to my kernel tree.
Best regards
--
Marek Szyprowski
Samsung Poland R&D Center
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-05-11 8:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 15:33 Minchan Kim
2012-05-11 2:19 ` Michal Nazarewicz
2012-05-11 8:13 ` Marek Szyprowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='02fb01cd2f4d$e8cbccb0$ba636610$%szyprowski@samsung.com' \
--to=m.szyprowski@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mina86@mina86.com \
--cc=minchan@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox