Re: [PATCH v3 4/4] memory-hotplug: fix pages missed by race rather than failng

2012-09-06 Thread Kamezawa Hiroyuki
(2012/09/07 9:39), Minchan Kim wrote: > If race between allocation and isolation in memory-hotplug offline > happens, some pages could be in MIGRATE_MOVABLE of free_list although > the pageblock's migratetype of the page is MIGRATE_ISOLATE. > > The race could be detected by get_freepage_migratetyp

[PATCH v3 4/4] memory-hotplug: fix pages missed by race rather than failng

2012-09-06 Thread Minchan Kim
If race between allocation and isolation in memory-hotplug offline happens, some pages could be in MIGRATE_MOVABLE of free_list although the pageblock's migratetype of the page is MIGRATE_ISOLATE. The race could be detected by get_freepage_migratetype in __test_page_isolated_in_pageblock. If it is