[lkml]   [2007]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH, RESEND] locks: fix possible infinite loop in posix deadlock detection
    On Tue, 30 Oct 2007 11:20:02 -0400
    "J. Bruce Fields" <> wrote:

    > From: J. Bruce Fields <>
    > It's currently possible to send posix_locks_deadlock() into an infinite
    > loop (under the BKL).
    > For now, fix this just by bailing out after a few iterations. We may
    > want to fix this in a way that better clarifies the semantics of
    > deadlock detection. But that will take more time, and this minimal fix
    > is probably adequate for any realistic scenario, and is simple enough to
    > be appropriate for applying to stable kernels now.
    > Thanks to George Davis for reporting the problem.
    > Cc: "George G. Davis" <>
    > Signed-off-by: J. Bruce Fields <>

    Acked-by: Alan Cox <>

    Its a good fix for now and I doubt any real world user has that complex a
    locking pattern to break.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-10-30 16:37    [W:0.029 / U:13.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site