lkml.org 
[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RESEND 2/3 v2.6.39-rc7] block: make disk_block_events() properly wait for work cancellation
    Hello,

    On Tue, May 17, 2011 at 08:15:38AM -0700, Linus Torvalds wrote:
    > Semantically what it is is a LOCK.

    Okay, an outer mutex then.

    > You want the locking for the whole "do I need to wait for the
    > completion" thing anyway, so why mess things up?

    Spinlock inside mutex seemed a bit strange but yeah that probably is
    the simpliest way.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2011-05-17 17:29    [W:0.018 / U:30.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site