On 02/23/2017 12:24 PM, Naoya Horiguchi wrote: > On Fri, Feb 17, 2017 at 10:05:41AM -0500, Zi Yan wrote: >> From: Zi Yan <ziy@xxxxxxxxxx> >> >> This change adds a new migration mode called MIGRATE_MT to enable multi >> threaded page copy implementation inside copy_huge_page() function by >> selectively calling copy_pages_mthread() when requested. But it still >> falls back using the regular page copy mechanism instead the previous >> multi threaded attempt fails. It also attempts multi threaded copy for >> regular pages. >> >> Signed-off-by: Zi Yan <zi.yan@xxxxxxxxxxxxxx> >> Signed-off-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx> >> --- >> include/linux/migrate_mode.h | 1 + >> mm/migrate.c | 25 ++++++++++++++++++------- >> 2 files changed, 19 insertions(+), 7 deletions(-) >> >> diff --git a/include/linux/migrate_mode.h b/include/linux/migrate_mode.h >> index 89c170060e5b..d344ad60f499 100644 >> --- a/include/linux/migrate_mode.h >> +++ b/include/linux/migrate_mode.h >> @@ -12,6 +12,7 @@ enum migrate_mode { >> MIGRATE_SYNC_LIGHT = 1<<1, >> MIGRATE_SYNC = 1<<2, >> MIGRATE_ST = 1<<3, >> + MIGRATE_MT = 1<<4, > > Could you update the comment above this definition to cover the new flags. Sure, will do. -- 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>