Description of problem: When supporting the Hygon CSV3 on Linux 6.6, we encountered two issues: - Misuse of the LRU flag. - Issues with PCP THP being movable/unmovable. To resolve these, we provided the following patches:: - mm/gup: don't check if a page is in lru before draining it - anolis: mm/page_alloc: don't use PCP list for THP-sized allocations when using PF_MEMALLOC_PIN Yangge has now contributed the bugfix patches for these issues to the Linux mainline: - 33dfe9204f29 mm/gup: clear the LRU flag of a page before adding to LRU batch - bf14ed81f571 mm/page_alloc: Separate THP PCP into movable and non-movable categories We have verified that the commit bf14ed81f571 ("mm/page_alloc: Separate THP PCP into movable and non-movable categories") have already been merged into the branch devel-6.6 of Anolis cloud-kernel. Therefore, we will now revert our previous workaround patches and push the official bugfix patches to the devel-6.6 branch of the Anolis cloud-kernel. 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/4483