rpms/kernel/devel increase-MAX_LOCKDEP_ENTRIES.patch, NONE, 1.1 kernel.spec, 1.1438, 1.1439

Kyle McMartin kyle at fedoraproject.org
Tue Mar 17 03:56:39 UTC 2009


Author: kyle

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24568

Modified Files:
	kernel.spec 
Added Files:
	increase-MAX_LOCKDEP_ENTRIES.patch 
Log Message:
* Tue Mar 17 2009 Kyle McMartin <kyle at redhat.com>
- increase MAX_LOCKDEP_ENTRIES to 10240.


increase-MAX_LOCKDEP_ENTRIES.patch:

--- NEW FILE increase-MAX_LOCKDEP_ENTRIES.patch ---
diff --git a/kernel/lockdep_internals.h b/kernel/lockdep_internals.h
index 56b1969..58258a5 100644
--- a/kernel/lockdep_internals.h
+++ b/kernel/lockdep_internals.h
@@ -15,7 +15,7 @@
  * table (if it's not there yet), and we check it for lock order
  * conflicts and deadlocks.
  */
-#define MAX_LOCKDEP_ENTRIES	8192UL
+#define MAX_LOCKDEP_ENTRIES	10240UL
 
 #define MAX_LOCKDEP_CHAINS_BITS	14
 #define MAX_LOCKDEP_CHAINS	(1UL << MAX_LOCKDEP_CHAINS_BITS)


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1438
retrieving revision 1.1439
diff -u -r1.1438 -r1.1439
--- kernel.spec	17 Mar 2009 00:43:17 -0000	1.1438
+++ kernel.spec	17 Mar 2009 03:56:09 -0000	1.1439
@@ -627,6 +627,10 @@
 Patch452: linux-2.6-input-hid-extra-gamepad.patch
 
 Patch460: linux-2.6-serial-460800.patch
+
+# 8192 too low
+Patch480: increase-MAX_LOCKDEP_ENTRIES.patch
+
 Patch510: linux-2.6-silence-noise.patch
 Patch530: linux-2.6-silence-fbcon-logo.patch
 Patch570: linux-2.6-selinux-mprotect-checks.patch
@@ -1160,6 +1164,9 @@
 
 # Allow to use 480600 baud on 16C950 UARTs
 ApplyPatch linux-2.6-serial-460800.patch
+
+ApplyPatch increase-MAX_LOCKDEP_ENTRIES.patch
+
 # Silence some useless messages that still get printed with 'quiet'
 ApplyPatch linux-2.6-silence-noise.patch
 
@@ -1815,6 +1822,9 @@
 # and build.
 
 %changelog
+* Tue Mar 17 2009 Kyle McMartin <kyle at redhat.com>
+- increase MAX_LOCKDEP_ENTRIES to 10240.
+
 * Mon Mar 16 2009 Josef Bacik <josef at toxicpanda.com> 2.6.29-0.258.rc8.git2
 - update btrfs code so it doesn't pop the stack on x86
 




More information about the fedora-extras-commits mailing list