Description of problem: alloc_contig_range() will fail if in-use HugeTLB pages are released to static HugeTLB pool instead of buddy allocator. Currently, in-use HugeTLB pages may be released to static HugeTLB pool after migration, and test_pages_isolated() will fail if the pages are not in buddy. So, we add function dissolve_static_pool_free_huge_page() to release the HugeTLB pages in static HugeTLB pool to buddy allocator after migration. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2342