From: Waiman Long <longman@xxxxxxxxxx> redhat/configs: Double MAX_LOCKDEP_ENTRIES for RT debug kernels JIRA: https://issues.redhat.com/browse/RHEL-43425 Due to the fact that RT debug kernel replaces spinlock, rwlock and local_lock to rt_mutex, the number of generated lockdep entries can be increased rather significantly compared with a non-RT debug kernel. So the current MAX_LOCKDEP_ENTRIES of 64k (CONFIG_LOCKDEP_BITS=16) may not be enough for some intensive workloads. Double the MAX_LOCKDEP_ENTRIES of RT debug kernel by increasing CONFIG_LOCKDEP_BITS to 17. Signed-off-by: Waiman Long <longman@xxxxxxxxxx> diff --git a/redhat/configs/common/rt/debug/CONFIG_LOCKDEP_BITS b/redhat/configs/common/rt/debug/CONFIG_LOCKDEP_BITS new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/rt/debug/CONFIG_LOCKDEP_BITS @@ -0,0 +1 @@ +CONFIG_LOCKDEP_BITS=17 -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3290 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue