* [RFC PATCH] rt, lockdep: double MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS
@ 2013-04-24 7:11 Mike Galbraith
2013-05-03 16:03 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2013-04-24 7:11 UTC (permalink / raw)
To: RT; +Cc: Steven Rostedt, Thomas Gleixner
Test driving v3.6-rt, lockdep shuts itself off soon after boot.
[ 117.940497] BUG: MAX_LOCKDEP_ENTRIES too low!
[ 117.940498] turning off the locking correctness validator.
[ 117.940502] Pid: 5242, comm: kio_trash Not tainted 3.6.11.1-rt32-smp #51
Doubling MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS appeased it. Box
has been up for an hour without lockdep taking it's toys and going home.
Signed-off-by: Mike Galbraith <bitbucket@online.de>
---
kernel/lockdep_internals.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/kernel/lockdep_internals.h
+++ b/kernel/lockdep_internals.h
@@ -54,9 +54,9 @@ enum {
* table (if it's not there yet), and we check it for lock order
* conflicts and deadlocks.
*/
-#define MAX_LOCKDEP_ENTRIES 16384UL
+#define MAX_LOCKDEP_ENTRIES 32768UL
-#define MAX_LOCKDEP_CHAINS_BITS 15
+#define MAX_LOCKDEP_CHAINS_BITS 16
#define MAX_LOCKDEP_CHAINS (1UL << MAX_LOCKDEP_CHAINS_BITS)
#define MAX_LOCKDEP_CHAIN_HLOCKS (MAX_LOCKDEP_CHAINS*5)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC PATCH] rt, lockdep: double MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS
2013-04-24 7:11 [RFC PATCH] rt, lockdep: double MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS Mike Galbraith
@ 2013-05-03 16:03 ` Sebastian Andrzej Siewior
2013-05-04 6:55 ` Mike Galbraith
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-05-03 16:03 UTC (permalink / raw)
To: Mike Galbraith; +Cc: RT, Steven Rostedt, Thomas Gleixner
* Mike Galbraith | 2013-04-24 09:11:15 [+0200]:
>Test driving v3.6-rt, lockdep shuts itself off soon after boot.
>
>[ 117.940497] BUG: MAX_LOCKDEP_ENTRIES too low!
>[ 117.940498] turning off the locking correctness validator.
>[ 117.940502] Pid: 5242, comm: kio_trash Not tainted 3.6.11.1-rt32-smp #51
>
>Doubling MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS appeased it. Box
>has been up for an hour without lockdep taking it's toys and going home.
Can you send me your .config offlist please? I haven't seen this yet.
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC PATCH] rt, lockdep: double MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS
2013-05-03 16:03 ` Sebastian Andrzej Siewior
@ 2013-05-04 6:55 ` Mike Galbraith
0 siblings, 0 replies; 3+ messages in thread
From: Mike Galbraith @ 2013-05-04 6:55 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: RT, Steven Rostedt, Thomas Gleixner
On Fri, 2013-05-03 at 18:03 +0200, Sebastian Andrzej Siewior wrote:
> * Mike Galbraith | 2013-04-24 09:11:15 [+0200]:
>
> >Test driving v3.6-rt, lockdep shuts itself off soon after boot.
> >
> >[ 117.940497] BUG: MAX_LOCKDEP_ENTRIES too low!
> >[ 117.940498] turning off the locking correctness validator.
> >[ 117.940502] Pid: 5242, comm: kio_trash Not tainted 3.6.11.1-rt32-smp #51
> >
> >Doubling MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS appeased it. Box
> >has been up for an hour without lockdep taking it's toys and going home.
>
> Can you send me your .config offlist please? I haven't seen this yet.
Done.
-Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-04 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 7:11 [RFC PATCH] rt, lockdep: double MAX_LOCKDEP_ENTRIES/MAX_LOCKDEP_CHAINS_BITS Mike Galbraith
2013-05-03 16:03 ` Sebastian Andrzej Siewior
2013-05-04 6:55 ` Mike Galbraith
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).