Bug 197605
Summary: | dmatest leaves dangling pointer when timeout expires which leads to deadlock if test is re-run | ||
---|---|---|---|
Product: | Drivers | Reporter: | Adam Wallis (awallis) |
Component: | Other | Assignee: | drivers_other |
Status: | NEW --- | ||
Severity: | normal | CC: | okaya, rruigrok, sameer.goel, shunyong.yang, timur |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | v4.14-rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Adam Wallis
2017-10-31 16:20:26 UTC
In stress test, this occurs in some low possibility. Shall we move the wait queue to thread info of each thread? It happens with increased regularity if 1)You are running on a slower system (e.g., emulation, simulation) 2) You use an unrealistically low timeout value 3) Your DMA legitimately has an issue and times out Moving the wait queue to each thread sounds like it could work. Proposed patch to fix the issue submitted: https://patchwork.kernel.org/patch/10053507/ |