Re: [PATCH] ring-buffer: Fix deadloop issue on reading trace_pipe

From: Zheng Yejian
Date: Wed Jul 12 2023 - 21:52:27 EST


On 2023/7/13 00:14, Steven Rostedt wrote:
On Mon, 10 Jul 2023 09:37:52 +0800
Zheng Yejian <zhengyejian1@xxxxxxxxxx> wrote:

teve, IIUC, following tags should be added?

Cc: stable@xxxxxxxxxxxxxxx
Fixes: 48fdc72f23ad ("ring-buffer: Fix accounting of entries when
removing pages")
Fixes: 83f40318dab0 ("ring-buffer: Make removal of ring buffer pages
atomic")

I actually added:

Fixes: a5fb833172eca ("ring-buffer: Fix uninitialized read_stamp")

-- Steve


Yes, a5fb833172eca directly cause the deadloop issue.

--

Thanks,
Zheng Yejian