Re: [RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-13 Thread Gioh Kim
@@ -51,6 +54,66 @@ extern void compaction_defer_reset(struct zone *zone, int order, bool alloc_success); extern bool compaction_restarting(struct zone *zone, int order); +static inline bool mobile_page(struct page *page) +{ + return page-mapping

Re: [RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-10 Thread Konstantin Khlebnikov
On Tue, Jul 7, 2015 at 7:36 AM, Gioh Kim gioh@lge.com wrote: From: Gioh Kim guru...@hanmail.net Add framework to register callback functions and check page mobility. There are some modes for page isolation so that isolate interface has arguments of page address and isolation mode while

Re: [RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-10 Thread Konstantin Khlebnikov
One more note below. On Tue, Jul 7, 2015 at 7:36 AM, Gioh Kim gioh@lge.com wrote: From: Gioh Kim guru...@hanmail.net Add framework to register callback functions and check page mobility. There are some modes for page isolation so that isolate interface has arguments of page address and

[RFCv3 2/5] mm/compaction: enable mobile-page migration

2015-07-06 Thread Gioh Kim
From: Gioh Kim guru...@hanmail.net Add framework to register callback functions and check page mobility. There are some modes for page isolation so that isolate interface has arguments of page address and isolation mode while putback interface has only page address as argument. Signed-off-by: