On Tue, Apr 09, 2013 at 09:56:58PM -0400, KOSAKI Motohiro wrote: > On Tue, Apr 9, 2013 at 6:43 PM, Naoya Horiguchi ... > > MIGRATE_ISOLTE is changed only within the range [start_pfn, end_pfn) > > given as the argument of __offline_pages (see also start_isolate_page_range), > > so it's set only for pages within the single memblock to be offlined. > > When partial memory hot remove, that's correct behavior. different > node is not required. > > > BTW, in previous discussion I already agreed with checking migrate type > > in hugepage allocation code (maybe it will be in dequeue_huge_page_vma(),) > > so what you concern should be solved in the next post. > > Umm.. Maybe I missed such discussion. Do you have a pointer? Please see the bottom of the following: http://thread.gmane.org/gmane.linux.kernel.mm/96665/focus=96920 It's not exactly the same, but we need to prevent the allocation from the memblock under hotremoving not only to be efficient, but also to avoid the race. Thanks, Naoya -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>