summaryrefslogtreecommitdiffstats
path: root/kernel/groups.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-09-16 16:10:40 +0200
committerIngo Molnar <mingo@kernel.org>2015-09-23 09:48:53 +0200
commit21199f27b430576552b26210b3194a363d7f05cd (patch)
tree3fa021f09a7e2f777b18c35acc801222a466ae36 /kernel/groups.c
parentbcee19f424a0d8c26ecf2607b73c690802658b29 (diff)
downloadop-kernel-dev-21199f27b430576552b26210b3194a363d7f05cd.zip
op-kernel-dev-21199f27b430576552b26210b3194a363d7f05cd.tar.gz
locking/lockdep: Fix hlock->pin_count reset on lock stack rebuilds
Various people reported hitting the "unpinning an unpinned lock" warning. As it turns out there are 2 places where we take a lock out of the middle of a stack, and in those cases it would fail to preserve the pin_count when rebuilding the lock stack. Reported-by: Sasha Levin <sasha.levin@oracle.com> Reported-by: Tim Spriggs <tspriggs@apple.com> Tested-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: davej@codemonkey.org.uk Link: http://lkml.kernel.org/r/20150916141040.GA11639@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud