Re: [RFC PATCH v3 1/3] mm/cma: change fallback behaviour for CMA freepage

2015-02-02 Thread Vlastimil Babka
On 02/02/2015 08:15 AM, Joonsoo Kim wrote: > freepage with MIGRATE_CMA can be used only for MIGRATE_MOVABLE and > they should not be expanded to other migratetype buddy list > to protect them from unmovable/reclaimable allocation. Implementing > these requirements in __rmqueue_fallback(), that is,

Re: [RFC PATCH v3 1/3] mm/cma: change fallback behaviour for CMA freepage

2015-02-01 Thread Joonsoo Kim
On Mon, Feb 02, 2015 at 04:15:46PM +0900, Joonsoo Kim wrote: > freepage with MIGRATE_CMA can be used only for MIGRATE_MOVABLE and > they should not be expanded to other migratetype buddy list > to protect them from unmovable/reclaimable allocation. Implementing > these requirements in __rmqueue_fal

[RFC PATCH v3 1/3] mm/cma: change fallback behaviour for CMA freepage

2015-02-01 Thread Joonsoo Kim
freepage with MIGRATE_CMA can be used only for MIGRATE_MOVABLE and they should not be expanded to other migratetype buddy list to protect them from unmovable/reclaimable allocation. Implementing these requirements in __rmqueue_fallback(), that is, finding largest possible block of freepage has bad