lkml.org 
[lkml]   [2006]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 34/61] lock validator: special locking: bdev
    From
    Date
    On Mon, 2006-05-29 at 18:35 -0700, Andrew Morton wrote:
    > On Mon, 29 May 2006 23:25:54 +0200
    > Ingo Molnar <mingo@elte.hu> wrote:
    >
    > > From: Ingo Molnar <mingo@elte.hu>
    > >
    > > teach special (recursive) locking code to the lock validator. Has no
    > > effect on non-lockdep kernels.
    > >
    >
    > There's no description here of the problem which is being worked around.
    > This leaves everyone in the dark.

    it's not really a workaround, it's a "separate the uses" thing. The real
    problem is an inherent hierarchy between "disk" and "partition". Where
    lots of code assumes you can first take the disk mutex, and then the
    partition mutex, and never deadlock. This patch basically separates the
    "get me the disk" versus "get me the partition" uses.

    -
    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: 2006-05-30 07:15    [W:0.019 / U:30.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site