Messages in this thread | | | Subject | Re: [RFC PATCH] tracing: Don't call wakeup() when committing the event | From | Steven Rostedt <> | Date | Tue, 03 May 2011 18:47:32 -0400 |
| |
On Wed, 2011-05-04 at 00:09 +0200, Frederic Weisbecker wrote:
> I wonder if we should have a lite version of wake_up() that checks > if the list of waiters is empty before locking the queue. > After all we don't care much about tight races for tracing.
Since tracing is a special case here, we probably could get away to just do it ourselves. That is, have our own flag that determines if we should wakeup or not.
-- Steve
| |