[lkml]   [2012]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 05/13] XFS: Fix lock ASSERT on UP
    On Tue, Mar 27, 2012 at 05:47:09PM -0700, Andi Kleen wrote:
    > From: Andi Kleen <>
    > ASSERT(!spin_is_locked()) doesn't work on UP builds. Replace with a standard
    > lockdep_assert_held()

    The "standard" is assert_spin_locked() - which not only is much cheaper
    but also has the advantage of working in non-lockdep builds.

     \ /
      Last update: 2012-03-30 01:23    [W:0.018 / U:16.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site