lkml.org 
[lkml]   [2005]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.13-rc6-rt9

* Steven Rostedt <rostedt@goodmis.org> wrote:

> On Fri, 2005-08-19 at 09:00 -0400, Steven Rostedt wrote:
> > On Fri, 2005-08-19 at 02:39 -0400, Steven Rostedt wrote:
>
> > I haven't thought of a good way yet to solve the race condition with
> > dependent sleeper. (Except by turning off CONFIG_WAKEUP_TIMING :-)
> >
>
> OK, I found one simple solution. The problem stems from max_mutex
> being grabbed. Since this uses the RT locks, and since tracing
> shouldn't really care about PI and all that, I switched this to a
> compat_semaphore, but only if CONFIG_WAKEUP_TIMING is set. This seems
> to get rid of this race condition that I have.

ok, i have applied your patch and have done a small tweak: i made it a
compat semaphore unconditionally. There's no point in #ifdefing it on
WAKEUP_TIMING.

> I found more bugs, but for now this message is about this specific
> race.

ok.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-23 00:34    [W:0.097 / U:4.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site