Message ID | 20160204165744.GG14425@dhcp22.suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
2016-02-05 1:57 GMT+09:00 Michal Hocko <mhocko@kernel.org>: > [CCing Minchan] > > I am getting many compilation errors if !CONFIG_COMPACTION and > CONFIG_MEMORY_ISOLATION=y. I didn't get to check what has hanged in that > regards because this code is quite old but the previous mmotm seemed ok, > maybe some subtle change in my config? It would be caused by Vlastimil's "mm, hugetlb: don't require CMA for runtime gigantic pages". https://lkml.org/lkml/2016/2/3/841 Fix is already there. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri 05-02-16 02:02:08, Joonsoo Kim wrote: > 2016-02-05 1:57 GMT+09:00 Michal Hocko <mhocko@kernel.org>: > > [CCing Minchan] > > > > I am getting many compilation errors if !CONFIG_COMPACTION and > > CONFIG_MEMORY_ISOLATION=y. I didn't get to check what has hanged in that > > regards because this code is quite old but the previous mmotm seemed ok, > > maybe some subtle change in my config? > > It would be caused by Vlastimil's "mm, hugetlb: don't require CMA for > runtime gigantic pages". > > https://lkml.org/lkml/2016/2/3/841 > > Fix is already there. What would be the fix? Maybe I have missed it in the current mmotm...
On Thu 04-02-16 18:10:54, Michal Hocko wrote: > On Fri 05-02-16 02:02:08, Joonsoo Kim wrote: > > 2016-02-05 1:57 GMT+09:00 Michal Hocko <mhocko@kernel.org>: > > > [CCing Minchan] > > > > > > I am getting many compilation errors if !CONFIG_COMPACTION and > > > CONFIG_MEMORY_ISOLATION=y. I didn't get to check what has hanged in that > > > regards because this code is quite old but the previous mmotm seemed ok, > > > maybe some subtle change in my config? > > > > It would be caused by Vlastimil's "mm, hugetlb: don't require CMA for > > runtime gigantic pages". > > > > https://lkml.org/lkml/2016/2/3/841 > > > > Fix is already there. > > What would be the fix? Maybe I have missed it in the current mmotm... Ohh, v2, I should have read the rest of the thread.
diff --git a/mm/internal.h b/mm/internal.h index 271ad9567e32..f7c0024a013a 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -150,7 +150,7 @@ extern bool is_free_buddy_page(struct page *page); #endif extern int user_min_free_kbytes; -#if defined CONFIG_COMPACTION || defined CONFIG_CMA +#if defined CONFIG_COMPACTION || defined CONFIG_CMA || defined MEMORY_ISOLATION /* * in mm/compaction.c