+ mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 05 Nov 2013 13:46:47 -0800
The patch titled
Subject: mm: cma: free cma page to buddy instead of being cpu hot page
has been added to the -mm tree. Its filename is
mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.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: Mingjun Zhang <[email protected]>
Subject: mm: cma: free cma page to buddy instead of being cpu hot page
free_contig_range() frees cma pages one by one and MIGRATE_CMA pages will be used as MIGRATE_MOVEABLE pages in the pcp list, it causes unnecessary migration action when these pages reused by CMA.
---
mm/page_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page +2 -1
@@ -1356,7 +1356,8 @@ void free_hot_cold_page(struct page *pag* excessively into the page allocator */ if (migratetype >=MIGRATE_PCPTYPES ) { -if (unlikely (is_migrate_isolate (migratetype))) { +if (unlikely (is_migrate_isolate (migratetype)) + ||is_migrate_cma (migratetype))free_one_page (zone, page,0 , migratetype); goto out; }
_
Patches currently in -mm which might be from [email protected] are
mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch