Bug 9391 - devel-5.10内核,使能CONFIG_MEMCG,禁用CONFIG_TRANSPARENT_HUGEPAGE时,编译报错
Summary: devel-5.10内核,使能CONFIG_MEMCG,禁用CONFIG_TRANSPARENT_HUGEPAGE时,编译报错
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: KaihaoBai
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 16:16 UTC by fangbaoshun
Modified: 2024-06-25 14:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fangbaoshun hygon_group 2024-06-21 16:16:17 UTC
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:
Comment 1 小龙 admin 2024-06-24 17:38:39 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3407
Comment 2 KaihaoBai alibaba_cloud_group 2024-06-25 14:28:01 UTC
代码开发时未兼容CONFIG_TRANSPARENT_HUGEPAGE关闭的场景,需要workaround和功能绑定
https://gitee.com/anolis/cloud-kernel/pulls/3407