[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090205232717.GD23999@nowhere>
Date: Fri, 6 Feb 2009 00:27:18 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Ingo Molnar <mingo@...e.hu>,
Jens Axboe <jens.axboe@...cle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH tip 1/2] ring_buffer: remove unused flags parameter
On Thu, Feb 05, 2009 at 05:39:04PM -0500, Steven Rostedt wrote:
>
> On Thu, 5 Feb 2009, Frederic Weisbecker wrote:
> > >
> > > - event = ring_buffer_lock_reserve(tr->buffer, sizeof(*entry),
> > > - &irq_flags);
> > > + event = ring_buffer_lock_reserve(tr->buffer, sizeof(*entry));
> > > if (!event)
> > > goto out;
> > > entry = ring_buffer_event_data(event);
> > > tracing_generic_entry_update(&entry->ent, 0, 0);
> > > entry->ent.type = TRACE_POWER;
> > > entry->state_data = *it;
> > > - ring_buffer_unlock_commit(tr->buffer, event, irq_flags);
> > > + ring_buffer_unlock_commit(tr->buffer, event);
> > >
> > > trace_wake_up();
> > >
> > > --
> > > 1.6.0.6
> > >
> >
> >
> > I don't what Steven planned (or not) with this flag.
> > If it's not related to his lockless ring buffer project or anything, this
> > cleanup is welcome.
>
> The irq_flags is legacy from the original implementation. Arnaldo is just
> going through my todo list (without even me telling him what it is ;-)
>
> Now only if I can get Arnaldo to do the TODO list my wife gives me ;-)
Can we pull it from somewhere? :-)
> -- Steve
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists