[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: bug in tty ldisc and friends

    * Joerg Roedel <> wrote:

    > On Tue, Jun 16, 2009 at 12:29:10PM +0200, Ingo Molnar wrote:
    > > We are now well below the limit for stack-trace entries.
    > >
    > > This is something we noticed recently: dma-debug uses a lot of
    > > lock classes and thus creates a really large lock-graph,
    > > depleting the reserves quickly.
    > Is this considered a problem? I increased the hash-size to 1024
    > for performance reasons (== 1024 spin_locks). But if it hurts to
    > much in other places this can be reverted.

    Lockdep running out of stack slots is a problem - but we dont want
    to revert your patch: lockdep is really a helper to development, it
    just observes, never hinders changes like that.

    The good news is that the (untested) patch i sent should largely
    solve this problem and reduce dma-debug's lockdep footprint by a
    factor of 1024.

    Reverting your change would only be a workaround really.


     \ /
      Last update: 2009-06-16 12:49    [W:0.020 / U:9.824 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site