Re: [PATCH v3] ring-buffer: Fix writing to the buffer with max_data_size

2023-12-12 Thread Google
On Tue, 12 Dec 2023 11:16:17 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The maximum ring buffer data size is the maximum size of data that can be > recorded on the ring buffer. Events must be smaller than the sub buffer > data size minus any meta data. This size is checke

[PATCH v3] ring-buffer: Fix writing to the buffer with max_data_size

2023-12-12 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The maximum ring buffer data size is the maximum size of data that can be recorded on the ring buffer. Events must be smaller than the sub buffer data size minus any meta data. This size is checked before trying to allocate from the ring buffer because the allocati