diff --git a/.agents/docs/2026-11-05-linux-unit-memory-observation-release.md b/.agents/docs/2026-11-05-linux-unit-memory-observation-release.md new file mode 100644 index 00000000..3446576e --- /dev/null +++ b/.agents/docs/2026-11-05-linux-unit-memory-observation-release.md @@ -0,0 +1,25 @@ +# Linux 单位内存观察的发布登记 + +日期:2026-11-05。关联 mcpp-community/mcpp#885 与 +mcpplibs/openkal-linux#50。 + +本次登记上游模块源码包 openkal-linux 0.24.2,不引入内联构建配方或新的 feature。 +实现通过查询进程组排除无关进程的 RSS 读取;查询失败仍读取原记录。完整组成员、 +内存求和、首次立即观察、监督间隔与整组终止保持。Linux 条件依赖决定适用性, +描述符继续在三个平台表中提供同一份源码,现有版本均保留。 + +上游 PR #50 的 GCC 16.1.0 与 LLVM 22.1.8 完整 CI 41966412791 通过,包括规范、 +导出表和运行库独立性检查。合入提交为 +`59a3a59b53625f144b17c96e8a3b07eb617cef1a`,标签 0.24.2 位于该提交。 +GitHub 与 GitCode 的源码均为 164569 字节,SHA256 均为 +`bfe9f4fc34b9d2c4d321939bb00f4da7c8f444abb38bb12756da7b5d57717ee9`。 + +测试成员 openkal 的 Linux 条件依赖选择 0.24.2。使用已发布 mcpp 2026.11.3.1 +和隔离 MCPP_HOME,实际运行 `mcpp test -p openkal-tests`,1 项通过;实际锁记录 +`index+mcpplibs@0.24.2`。其他系统的条件实现与版本保持。 + +同一冻结 clangd 产物的诊断 41966671816 在 Linux x64/ARM64 运行原始完整 +工作负载及三次热会话,以未修改的接纳脚本复算通过。x64 的公开运行器与同编译 +参数基线仍因冷 CPU 比例 1.184/1.175 失败,候选为 1.132;ARM64 的三条运行器 +均通过,候选为 1.111。该结果支持采用后端优化,不能替代正式引擎生产者、联合 +UX、完整公开运行器及版本组的发布验收。 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c154b3a..27fe1ef3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ ### Added +- openkal-linux 0.24.2: avoid reading unrelated process RSS during unit memory observation; preserve refused-query fallback, group charges and supervision cadence. + - **openkal-platform 0.23.7.** Image and hosted layers select musl 0.27.6 and LLVM runtime 0.18.7 consistently with the exact version group. The C library avoids redundant resolved-name property preflights; TLS, ThinLTO, loader, backend and hardening contracts remain intact. All four producer hosts passed; the hosted platform consumer follows the release. Final clangd cold CPU qualification remains separate. - **openkal-llvm-runtime 0.18.7.** Both allocator arrangements select musl 0.27.6; the C++ runtime implementation is unchanged. All ten producer checks passed, including native/cross-target behavior, four-host images and the unchanged L2 workload thresholds. GLOBAL and CN source archives are verified before registration; the conditional runtime test member follows the release. diff --git a/pkgs/o/openkal-linux.lua b/pkgs/o/openkal-linux.lua index a52b8ebe..a470c5f0 100644 --- a/pkgs/o/openkal-linux.lua +++ b/pkgs/o/openkal-linux.lua @@ -1,7 +1,7 @@ -- openkal-linux --- the reference implementation. -- --- No `deps`. The implementation uses the C library of the host, which mcpp --- already supplies for a hosted target; nothing further is required. +-- No descriptor-level `deps`: the source manifest names the openkal contract. +-- The implementation issues kernel system calls without borrowing a C library. -- -- The package is listed for every platform because a descriptor's platform -- table describes availability rather than applicability. A project selects @@ -19,6 +19,13 @@ package = { xpm = { linux = { + ["0.24.2"] = { + url = { + GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.24.2/openkal-linux-0.24.2.tar.gz", + }, + sha256 = "bfe9f4fc34b9d2c4d321939bb00f4da7c8f444abb38bb12756da7b5d57717ee9", + }, ["0.24.1"] = { url = { GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.1.tar.gz", @@ -231,6 +238,13 @@ package = { }, }, macosx = { + ["0.24.2"] = { + url = { + GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.24.2/openkal-linux-0.24.2.tar.gz", + }, + sha256 = "bfe9f4fc34b9d2c4d321939bb00f4da7c8f444abb38bb12756da7b5d57717ee9", + }, ["0.24.1"] = { url = { GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.1.tar.gz", @@ -443,6 +457,13 @@ package = { }, }, windows = { + ["0.24.2"] = { + url = { + GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.24.2/openkal-linux-0.24.2.tar.gz", + }, + sha256 = "bfe9f4fc34b9d2c4d321939bb00f4da7c8f444abb38bb12756da7b5d57717ee9", + }, ["0.24.1"] = { url = { GLOBAL = "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/mcpplibs/openkal-linux/archive/refs/tags/0.24.1.tar.gz", diff --git a/tests/examples/openkal/mcpp.toml b/tests/examples/openkal/mcpp.toml index efb7ea62..3cfc7632 100644 --- a/tests/examples/openkal/mcpp.toml +++ b/tests/examples/openkal/mcpp.toml @@ -21,7 +21,7 @@ version = "0.1.0" openkal = "0.23.0" [target.'cfg(os = "linux")'.dependencies.mcpplibs] -openkal-linux = "0.24.1" +openkal-linux = "0.24.2" [target.'cfg(os = "macos")'.dependencies.mcpplibs] openkal-macos = "0.21.3"