On Tue, Jul 06, 2010 at 11:02:04AM -0500, Christoph Lameter wrote: > On Tue, 6 Jul 2010, Naoya Horiguchi wrote: > > > Hmm, this chunk need to be fixed because I had too specific assumption. > > The list passed to migrate_pages() has only one page or one hugepage in > > page migration kicked by soft offline, but it's not the case in general case. > > Since hugepage is not linked to LRU list, we had better simply skip > > putback_lru_pages(). > > Maybe write a migrate_huge_page() function instead? The functionality is > materially different since we are not juggling things with the lru. OK. I'll try to devide functions for hugepage in the next turn. Thanks, Naoya Horiguchi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>