Re: [PATCH 3/3] makedumpfile: use cycle detection when parsing the prink log_buf

2022-03-11 Thread Philipp Rudo
Hi Kazu, On Fri, 11 Mar 2022 07:59:47 + HAGIO KAZUHITO(萩尾 一仁) wrote: > -Original Message- > > Hi Dave, > > > > On Wed, 9 Mar 2022 03:48:12 -0500 > > David Wysochanski wrote: > > > > > On Mon, Mar 7, 2022 at 12:23 PM Philipp Rudo wrote: > > > > > > > > The old printk

RE: [PATCH 3/3] makedumpfile: use cycle detection when parsing the prink log_buf

2022-03-11 Thread 萩尾 一仁
-Original Message- > Hi Dave, > > On Wed, 9 Mar 2022 03:48:12 -0500 > David Wysochanski wrote: > > > On Mon, Mar 7, 2022 at 12:23 PM Philipp Rudo wrote: > > > > > > The old printk mechanism (> v3.5.0 and < v5.10.0) had a fixed size > > > buffer (log_buf) that contains all messages. The

Re: [PATCH 3/3] makedumpfile: use cycle detection when parsing the prink log_buf

2022-03-10 Thread Philipp Rudo
Hi Dave, On Wed, 9 Mar 2022 03:48:12 -0500 David Wysochanski wrote: > On Mon, Mar 7, 2022 at 12:23 PM Philipp Rudo wrote: > > > > The old printk mechanism (> v3.5.0 and < v5.10.0) had a fixed size > > buffer (log_buf) that contains all messages. The location for the next > > message is stored

Re: [PATCH 3/3] makedumpfile: use cycle detection when parsing the prink log_buf

2022-03-09 Thread David Wysochanski
On Mon, Mar 7, 2022 at 12:23 PM Philipp Rudo wrote: > > The old printk mechanism (> v3.5.0 and < v5.10.0) had a fixed size > buffer (log_buf) that contains all messages. The location for the next > message is stored in log_next_idx. In case the log_buf runs full > log_next_idx wraps around and