Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ring-buffer: fix dangling commit race
Impact: fix stuck trace-buffers If an interrupt comes in during the rb_set_commit_to_write and pushes the tail page forward just at the right time, the commit updates will miss the adding of the interrupt data. This will cause the commit pointer to cease from moving forward. Thanks to Jiaying Zhang for finding this race. Reported-by: Jiaying Zhang <[email protected]> Signed-off-by: Steven Rostedt <[email protected]> Cc: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information