Skip to content

Commit 7ef2386

Browse files
hoshinolinajannau
authored andcommitted
Increase MAX_LOCKDEP_CHAIN_HLOCKS
Got a warning somewhere in the USB subsystem while unplugging a device...
1 parent 912a95b commit 7ef2386

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/locking/lockdep_internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ enum {
121121

122122
#define MAX_LOCKDEP_CHAINS (1UL << MAX_LOCKDEP_CHAINS_BITS)
123123

124-
#define AVG_LOCKDEP_CHAIN_DEPTH 5
124+
#define AVG_LOCKDEP_CHAIN_DEPTH 10
125125
#define MAX_LOCKDEP_CHAIN_HLOCKS (MAX_LOCKDEP_CHAINS * AVG_LOCKDEP_CHAIN_DEPTH)
126126

127127
extern struct lock_chain lock_chains[];

0 commit comments

Comments
 (0)