lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: drbd_worker.c: Remove lines
From
On Tue, Jul 22, 2014 at 4:09 AM, Mike Galbraith
<umgwanakikbuti@gmail.com> wrote:
> On Tue, 2014-07-22 at 02:17 -0400, Nick Krause wrote:
>> There seems to be two fix mes in function in wait_for_work. I was
>> wondering can we remove these spinlocks?
>
> Rather than ask someone else this question, take a look to see what the
> lock protects and from whom. If protected thingy cannot possibly be
> diddled concurrently, you'll know what to do, if it can be, you'll know
> what to do. If you can't figure it out, move on to the next windmill
> until the last one on the planet has been tilted or bounced off of :)
>
> -Mike
>
Mike ,
Thanks for the advice.
Cheers Nick


\
 
 \ /
  Last update: 2014-07-22 20:21    [W:2.573 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site