+7
−2
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9K8D1 CVE: NA -------------------------------- hpool_merge_page() will traver hugepage_splitlists and try to merge pages. The number of pages may be large and it will try to migrate pages which are in used. So the process can take a long times. To avoid softlockup, add cond_resched() before loop and migration. Fixes: cdbeee51 ("mm/dynamic_hugetlb: add migration function") Signed-off-by:Liu Shixin <liushixin2@huawei.com> (cherry picked from commit 55a2e4ab)