From: Ingo Molnar Date: Mon, 11 Aug 2008 10:37:27 +0000 (+0200) Subject: lockdep: increase MAX_LOCKDEP_KEYS X-Git-Tag: v2.6.27-rc3~50^2^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5f363e358cf16e4ad13a6826e15088c5495efe9;p=linux-2.6 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 --- diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index c88aa3d8e8..331e5f1c2d 100644 --- a/include/linux/lockdep.h +++ b/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