rpms/kernel/devel linux-2.6-debug-slub-debug.patch, NONE, 1.1 kernel-2.6.spec, 1.3179, 1.3180

Dave Jones (davej) fedora-extras-commits at redhat.com
Mon May 28 01:55:41 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23317

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6-debug-slub-debug.patch 
Log Message:
* Sun May 27 2007 Dave Jones <davej at redhat.com>
- Switch to using slub as allocator by default.


linux-2.6-debug-slub-debug.patch:

--- NEW FILE linux-2.6-debug-slub-debug.patch ---
--- linux-2.6.21.noarch/mm/slub.c~	2007-05-27 21:48:42.000000000 -0400
+++ linux-2.6.21.noarch/mm/slub.c	2007-05-27 21:51:22.000000000 -0400
@@ -323,7 +323,7 @@ static inline int slab_index(void *p, st
 /*
  * Debug settings:
  */
-static int slub_debug;
+static int slub_debug = DEBUG_DEFAULT_FLAGS;
 
 static char *slub_debug_slabs;
 


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3179
retrieving revision 1.3180
diff -u -r1.3179 -r1.3180
--- kernel-2.6.spec	28 May 2007 01:41:14 -0000	1.3179
+++ kernel-2.6.spec	28 May 2007 01:55:04 -0000	1.3180
@@ -460,6 +460,7 @@
 Patch1013: linux-2.6-debug-taint-vm.patch
 Patch1015: linux-2.6-debug-spinlock-taint.patch
 Patch1016: linux-2.6-debug-extra-warnings.patch
+Patch1017: linux-2.6-debug-slub-debug.patch
 Patch1018: linux-2.6-debug-sleep-in-irq-warning.patch
 Patch1019: linux-2.6-debug-must_check.patch
 Patch1020: linux-2.6-debug-no-quiet.patch
@@ -1096,9 +1097,11 @@
 %patch1012 -p1
 %patch1013 -p1
 %patch1015 -p1
-# Only spew extra warnings on rawhide builds.
 %if ! %{debugbuildsenabled}
+# Only spew extra warnings on rawhide builds.
 %patch1016 -p1
+# Turn slub debug on by default in rawhide
+%patch1017 -p1
 %endif
 %patch1018 -p1
 %patch1019 -p1
@@ -2220,6 +2223,9 @@
 
 %changelog
 * Sun May 27 2007 Dave Jones <davej at redhat.com>
+- Switch to using slub as allocator by default.
+
+* Sun May 27 2007 Dave Jones <davej at redhat.com>
 - As the x86-64 kernel is now relocatable, -kdump can go.
 
 * Sun May 27 2007 Dave Jones <davej at redhat.com>




More information about the fedora-extras-commits mailing list