rpms/kernel/devel kernel-2.6.spec, 1.3154, 1.3155 linux-2.6-debug-taint-vm.patch, 1.11, 1.12

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


Author: davej

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

Modified Files:
	kernel-2.6.spec linux-2.6-debug-taint-vm.patch 
Log Message:
* Mon May 14 2007 Dave Jones <davej at redhat.com>
- Additional taint printk in slab corruption checks.



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3154
retrieving revision 1.3155
diff -u -r1.3154 -r1.3155
--- kernel-2.6.spec	14 May 2007 15:42:02 -0000	1.3154
+++ kernel-2.6.spec	14 May 2007 15:54:53 -0000	1.3155
@@ -2331,6 +2331,9 @@
 
 %changelog
 * Mon May 14 2007 Dave Jones <davej at redhat.com>
+- Additional taint printk in slab corruption checks.
+
+* Mon May 14 2007 Dave Jones <davej at redhat.com>
 - Only spew extra build warnings when debugging mode is on.
 
 * Sun May 13 2007 Dave Jones <davej at redhat.com>

linux-2.6-debug-taint-vm.patch:

Index: linux-2.6-debug-taint-vm.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-debug-taint-vm.patch,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- linux-2.6-debug-taint-vm.patch	4 Apr 2007 20:43:46 -0000	1.11
+++ linux-2.6-debug-taint-vm.patch	14 May 2007 15:54:53 -0000	1.12
@@ -71,3 +71,16 @@
  				print_objinfo(cachep, objp, 0);
  				dump_stack();
  			}
+--- linux-2.6.21.noarch/mm/slab.c~	2007-05-14 11:51:33.000000000 -0400
++++ linux-2.6.21.noarch/mm/slab.c	2007-05-14 11:53:00.000000000 -0400
+@@ -2924,8 +2924,8 @@ static void check_slabp(struct kmem_cach
+ 	if (entries != cachep->num - slabp->inuse) {
+ bad:
+ 		printk(KERN_ERR "slab: Internal list corruption detected in "
+-				"cache '%s'(%d), slabp %p(%d). Hexdump:\n",
+-			cachep->name, cachep->num, slabp, slabp->inuse);
++				"cache '%s'(%d), slabp %p(%d). Tainted(%s). Hexdump:\n",
++			cachep->name, cachep->num, slabp, slabp->inuse, print_tainted());
+ 		for (i = 0;
+ 		     i < sizeof(*slabp) + cachep->num * sizeof(kmem_bufctl_t);
+ 		     i++) {




More information about the fedora-extras-commits mailing list