428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

【OLK-5.10】ltp ftrace-stress-test 9000,会触发sotflock up

已完成
任务
创建于  
2023-07-13 16:16

【严重程度】 一般
【特性】 调测/trace
【重现类型】 有条件概率重现
【定位分析】 rb_reset_cpu()清空ringbuffer时没有将pages链表里的每个页的entries字段重置,当减小ringbuffer的时候,rb_remove_pages()会从pages链表中移除一些页,被移除的页里的entries值会被加到'overrun'里。如果那些entries是之前未重置的值,那么'overrun'就会计算出错。由于任务读取trace_pipe文件时'overrun'值会被用于判断ring_buffer是否为空,那么可能导致在内核态出现死循环而发生softlockup。

评论 (1)

Hi zhixiuzhou, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 hulk-robot-zhixiuzhou
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助