Draft
[WIP]docs(golang): pagenum 特性使用指南切换为 kpmemopt #97
[WIP]docs(golang): pagenum 特性使用指南切换为 kpmemopt #97
Draft
huang-xiaoquanAdd on Jun 6
huang-xiaoquan
Jun 6

变更说明

将 Go 用户指南中「span page 数量优化」特性的使能方式由 GOEXPERIMENT=pagenum 切换为 GOARM64=v8.2,kpmemopt(kpmemopt 后缀在构建工具链时会自动联动 GOEXPERIMENT=pagenum)。

按需仅更新「使用说明」与「简要描述」,并同步修改中英文文档:

  • docs/zh/golang/golang_user_guide.md
  • docs/en/golang/golang_user_guide.md

主要修改点

  • 新增特性列表中该特性的「使用说明」由 GOEXPERIMENT=pagenum 改为 GOARM64=v8.2,kpmemopt,描述补充为鲲鹏平台限定。
  • 「选项使能」说明改为 kpmemopt 后缀方式,并补充:GOARM64 需不低于 v8.2、仅在鲲鹏(Kunpeng 920/920E/950)+ SVE 平台生效、其余平台自动回退默认布局、零影响。
  • 示例命令更新为 GOARM64="v8.2,kpmemopt" 编译工具链并运行 BenchmarkMalloc。

参考最新的 kpmemopt 设计文档(kpmemopt-design.md)。

likedislike
Merge blocked
huang-xiaoquanhuang-xiaoquan
Jun 6 Created pull request, commit a51506b9
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Set alexanderbill,li-yancheng,cf-zhao,eastb233,wangqiang95,kuenking111_admin,SegFault,wd-gitcode,chenzheng1030 as approver
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Added label: sig/Compiler
openeuler-ci-bot
openeuler-ci-botCollaborators
Jun 6 Comments:

Welcome To openEuler Community

Hey @huang-xiaoquan , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Compiler ,
and any of the maintainers: @SegFault, @alexanderbill, @cf-zhao, @chenzheng1030, @eastb233, @kuenking111_admin, @li-yancheng, @wangqiang95, @wd-gitcode ,

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Added label: openeuler-cla/yes
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Added label: need-doc-sig-review
openeuler-ci-bot
openeuler-ci-botCollaborators
Jun 6 Comments:

CLA Signature Pass

huang-xiaoquan, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Added label: docs_ci_running
openeuler-ci-bot
openeuler-ci-botCollaborators
Jun 6 Comments:

❌ 文档门禁未通过!

检查项 检查结果 详情
markdownlint ✅ 已通过 查看详情
link-validity-check ✅ 已通过 查看详情
resource-existence-check ✅ 已通过 查看详情
codespell-check ❌ 未通过 查看详情
tag-closed-check ✅ 已通过 查看详情
file-naming-check ✅ 已通过 查看详情
file-naming-consistency-check ✅ 已通过 查看详情
toc-check ✅ 已通过 查看详情

💡 本次检查出 7 项错误,详情内容如下:

序号 错误详情
1 [文件路径]:docs/en/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 11 行
[错误信息]:单词拼写错误:GOARM
[错误内容]:GOARM
2 [文件路径]:docs/en/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 11 行
[错误信息]:单词拼写错误:kpmemopt
[错误内容]:kpmemopt
3 [文件路径]:docs/zh/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 11 行
[错误信息]:单词拼写错误:GOARM
[错误内容]:GOARM
4 [文件路径]:docs/zh/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 11 行
[错误信息]:单词拼写错误:kpmemopt
[错误内容]:kpmemopt
5 [文件路径]:docs/zh/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 26 行
[错误信息]:单词拼写错误:GOARM
[错误内容]:GOARM
6 [文件路径]:docs/zh/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 26 行
[错误信息]:单词拼写错误:kpmemopt
[错误内容]:kpmemopt
7 [文件路径]:docs/zh/golang/golang_user_guide.md
[检查类型]:codespell-check
[错误位置]:第 26 行
[错误信息]:单词拼写错误:GOARM
[错误内容]:GOARM
likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Removed label: docs_ci_running
openeuler-ci-botopeneuler-ci-botCollaborators
Jun 6 Added label: docs_ci_failed
huang-xiaoquanhuang-xiaoquan
Jun 8 Set as a draft.