[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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 redhat com>
+- Additional taint printk in slab corruption checks.
+
+* Mon May 14 2007 Dave Jones <davej redhat com>
 - Only spew extra build warnings when debugging mode is on.
 
 * Sun May 13 2007 Dave Jones <davej 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++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]