From: Ingo Molnar Date: Tue, 16 Jun 2009 14:11:14 +0000 (+0200) Subject: dma-debug: Put all hash-chain locks into the same lock class X-Git-Tag: v2.6.31-rc3~31^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a5b83ee0fce9dbf8ff5fe1f8c9ae7dfafe458c;p=pandora-kernel.git dma-debug: Put all hash-chain locks into the same lock class Alan Cox reported that lockdep runs out of its stack-trace entries with certain configs: BUG: MAX_STACK_TRACE_ENTRIES too low This happens because there are 1024 hash buckets, each with a separate lock. Lockdep puts each lock into a separate lock class and tracks them independently. But in reality we never take more than one of the buckets, so they really belong into a single lock-class. Annotate the has bucket lock init accordingly. [ Impact: reduce the lockdep footprint of dma-debug ] Reported-by: Alan Cox Signed-off-by: Ingo Molnar Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed