Re: [PATCH v3 3/4] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Yasuaki Ishimatsu
2012/09/07 9:39, Minchan Kim wrote: > Like below, memory-hotplug makes race between page-isolation > and page-allocation so it can hit BUG_ON in __offline_isolated_pages. > > CPU A CPU B > > start_isolate_page_range > set_migratetype_isolate >

[PATCH v3 3/4] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Minchan Kim
Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate spin_lock_irqsave(zone->lock)

[PATCH v3 3/4] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Minchan Kim
Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate spin_lock_irqsave(zone-lock)

Re: [PATCH v3 3/4] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread Yasuaki Ishimatsu
2012/09/07 9:39, Minchan Kim wrote: Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate