[lkml]   [2009]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] netfilter: per-cpu spin-lock with recursion (v0.8)
    On Fri, 2009-04-17 at 08:14 +0200, Eric Dumazet wrote:
    > > Also, please dont call this a 'recursive lock', since it is not a general
    > > recursive lock, as pointed by Linus and Paul.
    > >
    > > Second question is about MAX_LOCK_DEPTH
    > I meant here the ~256 limit we have on preempt_count, not related to LOCKDEP

    Very good point, so 256 nested spin_lock() instances will make the
    kernel unhappy -- since we now (almost?) support up to 4096 cpus, this
    seems like a no-no.

     \ /
      Last update: 2009-04-17 19:11    [W:0.020 / U:14.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site