lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: wireless: airo semaphore to mutex
From
Date

On Tue, 2008-05-27 at 09:48 -0400, Dan Williams wrote:
>
> Yeah, that might be the right way to go. If you want to jump into the
> driver, feel quite free, but I don't think you need to go into too much
> detail with it. Your overall behavior analysis is right on the mark
> already.

I think we could just remove the trylock from the interrupt case, and
always force the wake_up_interruptible(&priv->thr_wait) case. It looks
like the trylocking is just an optimization to save a wakeup ..

Daniel





\
 
 \ /
  Last update: 2008-05-27 17:11    [W:0.046 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site