登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
6
Star
1
Fork
11
src-openEuler
/
lxcfs
代码
Issues
1
Pull Requests
2
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
76
回合上游补丁,数量:4个
已关闭
zhangxingrong:master
src-openEuler:master
zhangxingrong
创建于 2024-08-15 14:02
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
1.proc_loadavg: fix ABBA deadlock between read/refresh Idea of this fix is to always take nested locks in the same order. At the same time, we adding an extra check to insert_node() that prevents adding a new load_node with the same cgroup (->cg field) value. This is theoretically possible because we don't hold .rilock/.lock when we call insert_node(). It looks like we have this issue from the initial implementation of loadavg virtualization and it's hardly reproducible that's why we weren't able to notice it. Fixes: #605 https://github.com/lxc/lxcfs/commit/362a5d52bf67ff58e07f970abd0e642b3bf8279b 2.proc_loadavg.c: Fix incompatible integer to pointer conversion Newer compiler like Clang 16 and GCC 14 have certain error enabled bydefault, namely -Werror=incompatible-function-pointer-types. Which resutls in build error such as: proc_loadavg.c:606:10: error: incompatible integer to pointer conversion returning int from a function with result type pthread_t My patch supresses the error for now, but a proper fix would be better. Fist discovered on Gentoo linux (bug #894348). Bug: https://bugs.gentoo.org/894348 Closes: #561 https://github.com/lxc/lxcfs/commit/1ce7d26de2f97acf4b979d7993d83ddfe53cc8ee 3.loadavg: make cleanup of start_loadavg Cleanup start_loadavg code: - add a new external symbol load_daemon_v2 with the pthread_create-like signature - make hacky casts of pthread_t to int (and reverse) unnecessary for new API users Related to: #610 https://github.com/lxc/lxcfs/commit/e0533550b2c26c6d3dc86394f4eac99082587c9c 4.cpuview: pass a correct argument to lxcfs_debug struct cg_proc_stat *cur; ... lxcfs_debug("Removing stat node for %s\n", cur); should be: lxcfs_debug("Removing stat node for %s\n", cur->cg); Only reproducible when DEBUG macro is defined. https://github.com/lxc/lxcfs/commit/a019277c7f325dd20678d23b8210156ef4bd2318
此 Pull Request 无法自动合并
尝试通过 WebIDE 解决冲突
怎样手动合并此 Pull Request
git checkout master
git pull https://gitee.com/zhangxingrong/lxcfs.git master
git push origin master
评论
13
提交
1
文件
5
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
JingWoo
jingwoo
lifeng_isula
lifeng2221dd1
haomintsai
caihaomin
xuxuepeng
xuxuepeng
jingxiaolu
jingxiaolu
haozi007
duguhaotian
未设置
最少人数
0
测试
JingWoo
jingwoo
lifeng_isula
lifeng2221dd1
haomintsai
caihaomin
xuxuepeng
xuxuepeng
jingxiaolu
jingxiaolu
haozi007
duguhaotian
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/yes
ci_successful
sig/iSulad
关联 Issue
未关联
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
参与者
(5)
Cherry-pick 提交
Cherry-pick 可以将
特定提交(Commit)
从某个分支挑选并应用到另一个分支,实现快速集成特定更改,而无需合并整个分支。
请选择应用 Cherry-pick 提交 (Commit) 的目标分支
新建分支
当前账号不存在 Fork 仓库,建议 cherry-pick 到 Fork 仓库。
Fork 仓库
提交列表
Commit SHA
Commit Message
基于 Cherry-pick 后的分支发起 Pull Request
取消
Cherry-pick
1
https://gitee.com/src-openeuler/lxcfs.git
git@gitee.com:src-openeuler/lxcfs.git
src-openeuler
lxcfs
lxcfs
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册