* [PATCH-tip] locking/lockdep: Remove duplicated lock_class_ops percpu array
@ 2018-10-12 21:42 Waiman Long
2018-10-16 6:36 ` [tip:locking/core] locking/lockdep: Remove duplicated 'lock_class_ops' " tip-bot for Waiman Long
0 siblings, 1 reply; 2+ messages in thread
From: Waiman Long @ 2018-10-12 21:42 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Will Deacon, Thomas Gleixner
Cc: linux-kernel, Waiman Long
Remove the duplicated lock_class_ops percpu array that is not used
anywhere.
Fixes: 8ca2b56cd7da ("locking/lockdep: Make class->ops a percpu counter
and move it under CONFIG_DEBUG_LOCKDEP=y")
Signed-off-by: Waiman Long <longman@redhat.com>
---
kernel/locking/lockdep.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 5faeb2e..be76f47 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -435,7 +435,6 @@ static int save_trace(struct stack_trace *trace)
* Various lockdep statistics:
*/
DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats);
-DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops);
#endif
/*
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:locking/core] locking/lockdep: Remove duplicated 'lock_class_ops' percpu array
2018-10-12 21:42 [PATCH-tip] locking/lockdep: Remove duplicated lock_class_ops percpu array Waiman Long
@ 2018-10-16 6:36 ` tip-bot for Waiman Long
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Waiman Long @ 2018-10-16 6:36 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, longman, will.deacon, peterz, torvalds, mingo, hpa, tglx
Commit-ID: 4766ab5677a2842834f9bc4a21587256a811531c
Gitweb: https://git.kernel.org/tip/4766ab5677a2842834f9bc4a21587256a811531c
Author: Waiman Long <longman@redhat.com>
AuthorDate: Fri, 12 Oct 2018 17:42:27 -0400
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 16 Oct 2018 08:21:10 +0200
locking/lockdep: Remove duplicated 'lock_class_ops' percpu array
Remove the duplicated 'lock_class_ops' percpu array that is not used
anywhere.
Signed-off-by: Waiman Long <longman@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Fixes: 8ca2b56cd7da ("locking/lockdep: Make class->ops a percpu counter and move it under CONFIG_DEBUG_LOCKDEP=y")
Link: http://lkml.kernel.org/r/1539380547-16726-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/locking/lockdep.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index a0f83058d6aa..8a732c856624 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -436,7 +436,6 @@ unsigned int max_lockdep_depth;
* Various lockdep statistics:
*/
DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats);
-DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops);
#endif
/*
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-16 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 21:42 [PATCH-tip] locking/lockdep: Remove duplicated lock_class_ops percpu array Waiman Long
2018-10-16 6:36 ` [tip:locking/core] locking/lockdep: Remove duplicated 'lock_class_ops' " tip-bot for Waiman Long
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).