Some misc migrate code cleanup and improvement. Yang Shi (5): mm: truncate_complete_page is not existed anymore mm: migrate: simplify the logic for handling permanent failure mm: migrate: skip shared exec THP for NUMA balancing mm: migrate: clean up migrate_prep{_local} mm: migrate: return -ENOSYS if THP migration is unsupported include/linux/migrate.h | 4 +-- mm/mempolicy.c | 8 ++---- mm/migrate.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------- mm/vmscan.c | 2 +- 4 files changed, 99 insertions(+), 63 deletions(-)