From: Waiman Long longman@redhat.com
redhat/configs: Double MAX_LOCKDEP_ENTRIES
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1972078 Upstream: RHEL only
MAX_LOCKDEP_ENTRIES in lockdep is controlled by CONFIG_LOCKDEP_BITS. By increasing it from a default of 15 to 16, we double MAX_LOCKDEP_ENTRIES from 32k to 64k. That should be big enough for our internal use.
CONFIG_LOCKDEP_BITS isn't used in generic kernel. It is only used in debug kernel when CONFIG_LOCKDEP is turned on by the enabling of CONFIG_PROVE_LOCKING.
Signed-off-by: Waiman Long longman@redhat.com
diff --git a/redhat/configs/common/generic/CONFIG_LOCKDEP_BITS b/redhat/configs/common/generic/CONFIG_LOCKDEP_BITS index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/CONFIG_LOCKDEP_BITS +++ b/redhat/configs/common/generic/CONFIG_LOCKDEP_BITS @@ -1 +1 @@ -CONFIG_LOCKDEP_BITS=15 +CONFIG_LOCKDEP_BITS=16
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1271
kernel@lists.fedoraproject.org