|
@@ -3429,7 +3429,11 @@ void __init lockdep_info(void)
|
|
sizeof(struct list_head) * CLASSHASH_SIZE +
|
|
sizeof(struct list_head) * CLASSHASH_SIZE +
|
|
sizeof(struct lock_list) * MAX_LOCKDEP_ENTRIES +
|
|
sizeof(struct lock_list) * MAX_LOCKDEP_ENTRIES +
|
|
sizeof(struct lock_chain) * MAX_LOCKDEP_CHAINS +
|
|
sizeof(struct lock_chain) * MAX_LOCKDEP_CHAINS +
|
|
- sizeof(struct list_head) * CHAINHASH_SIZE) / 1024);
|
|
|
|
|
|
+ sizeof(struct list_head) * CHAINHASH_SIZE) / 1024
|
|
|
|
+#ifdef CONFIG_PROVE_LOCKING
|
|
|
|
+ + sizeof(struct circular_queue) + sizeof(bfs_accessed)
|
|
|
|
+#endif
|
|
|
|
+ );
|
|
|
|
|
|
printk(" per task-struct memory footprint: %lu bytes\n",
|
|
printk(" per task-struct memory footprint: %lu bytes\n",
|
|
sizeof(struct held_lock) * MAX_LOCK_DEPTH);
|
|
sizeof(struct held_lock) * MAX_LOCK_DEPTH);
|