Pārlūkot izejas kodu

lockdep: increase MAX_LOCKDEP_KEYS

certain configs produce:

 [   70.076229] BUG: MAX_LOCKDEP_KEYS too low!
 [   70.080230] turning off the locking correctness validator.

tune them up.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 gadi atpakaļ
vecāks
revīzija
e5f363e358
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/linux/lockdep.h

+ 1 - 1
include/linux/lockdep.h

@@ -190,7 +190,7 @@ struct lock_chain {
 	u64				chain_key;
 };
 
-#define MAX_LOCKDEP_KEYS_BITS		11
+#define MAX_LOCKDEP_KEYS_BITS		13
 /*
  * Subtract one because we offset hlock->class_idx by 1 in order
  * to make 0 mean no class. This avoids overflowing the class_idx