[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0902051737360.27358@gandalf.stny.rr.com>
Date: Thu, 5 Feb 2009 17:39:04 -0500 (EST)
From: Steven Rostedt <rostedt@...dmis.org>
To: Frederic Weisbecker <fweisbec@...il.com>
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, 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 ;-)
-- 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