[...]
> > > + */
> > > + smp_wmb();
> > > + WRITE_ONCE(cpu_buffer->mapped, 1);
> > > +
> > > + /* Init meta_page values unless the writer did it already */
> > > + cmpxchg(&cpu_buffer->meta_page->entries, 0,
> > > + local_read(&cpu_buffer->entries));
> > > + cmpxchg(&cpu_buffer->meta_page
On Tue, Jan 09, 2024 at 06:58:13PM -0500, Steven Rostedt wrote:
> On Wed, 10 Jan 2024 08:42:05 +0900
> Masami Hiramatsu (Google) wrote:
>
> > On Tue, 9 Jan 2024 15:13:51 +
> > Vincent Donnefort wrote:
> >
> > > > > @@ -388,6 +389,7 @@ struct rb_irq_work {
> > > > > bool
On Wed, 10 Jan 2024 08:42:05 +0900
Masami Hiramatsu (Google) wrote:
> On Tue, 9 Jan 2024 15:13:51 +
> Vincent Donnefort wrote:
>
> > > > @@ -388,6 +389,7 @@ struct rb_irq_work {
> > > > boolwaiters_pending;
> > > > bool
On Tue, 9 Jan 2024 15:13:51 +
Vincent Donnefort wrote:
> > > @@ -388,6 +389,7 @@ struct rb_irq_work {
> > > boolwaiters_pending;
> > > boolfull_waiters_pending;
> > > boolwakeup_full;
> > > + bool
On Tue, 9 Jan 2024 15:13:51 +
Vincent Donnefort wrote:
> > > @@ -388,6 +389,7 @@ struct rb_irq_work {
> > > boolwaiters_pending;
> > > boolfull_waiters_pending;
> > > boolwakeup_full;
> > > + bool
On Tue, Jan 09, 2024 at 11:42:30PM +0900, Masami Hiramatsu wrote:
> On Fri, 5 Jan 2024 09:47:28 +
> Vincent Donnefort wrote:
>
> > In preparation for allowing the user-space to map a ring-buffer, add
> > a set of mapping functions:
> >
> > ring_buffer_{map,unmap}()
> > ring_buffer_map_f
On Fri, 5 Jan 2024 09:47:28 +
Vincent Donnefort wrote:
> In preparation for allowing the user-space to map a ring-buffer, add
> a set of mapping functions:
>
> ring_buffer_{map,unmap}()
> ring_buffer_map_fault()
>
> And controls on the ring-buffer:
>
> ring_buffer_map_get_reader()
In preparation for allowing the user-space to map a ring-buffer, add
a set of mapping functions:
ring_buffer_{map,unmap}()
ring_buffer_map_fault()
And controls on the ring-buffer:
ring_buffer_map_get_reader() /* swap reader and head */
Mapping the ring-buffer also involves:
A unique I
8 matches
Mail list logo