lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] tracing: Don't call wakeup() when committing the event
On Tue, May 03, 2011 at 06:47:32PM -0400, Steven Rostedt wrote:
> 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.

Yep, agreed.


\
 
 \ /
  Last update: 2011-05-04 01:11    [W:0.066 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site