locking, percpu counters: introduce separate lock classes
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 26 Dec 2008 14:08:55 +0000 (15:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 12:43:00 +0000 (13:43 +0100)
Impact: fix lockdep false positives

Classify percpu_counter instances similar to regular lock objects --
that is, per instantiation site.

The networking code has increased its use of percpu_counters, which
leads to false positives if they are treated as a single class.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found