Description of problem: devel-5.10内核,使能CONFIG_MEMCG,禁用CONFIG_TRANSPARENT_HUGEPAGE时,编译报错: mm/memcontrol.c:7021:3: error: 'thp_reclaim_proactive' undeclared. 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/3407
代码开发时未兼容CONFIG_TRANSPARENT_HUGEPAGE关闭的场景,需要workaround和功能绑定 https://gitee.com/anolis/cloud-kernel/pulls/3407