+17
−16
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9K8D1 CVE: NA -------------------------------- do_migrate_range() will firstly isolate pages and then migrate pages. If a pages is failed to isolate, it may not be successful in a short time even if tried many times. Since migrate_pages() has already tried 10 times to migrate the pages, there is also no need to migrate pages many times. So just call do_migrate_range() once. This will reduce the log of migration failures. Fixes: cdbeee51 ("mm/dynamic_hugetlb: add migration function") Signed-off-by:Liu Shixin <liushixin2@huawei.com>