rpms/kernel/devel linux-2.6-debug-always-inline-kzalloc.patch, NONE, 1.1 kernel.spec, 1.917, 1.918 linux-2.6-debug-list_debug_rcu.patch, 1.1, NONE

Dave Jones davej at fedoraproject.org
Mon Sep 1 17:39:48 UTC 2008


Author: davej

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

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-debug-always-inline-kzalloc.patch 
Removed Files:
	linux-2.6-debug-list_debug_rcu.patch 
Log Message:
Always inline kzalloc.  And drop busted rcu debug patch

linux-2.6-debug-always-inline-kzalloc.patch:

--- NEW FILE linux-2.6-debug-always-inline-kzalloc.patch ---
--- linux-2.6.26.noarch/include/linux/slab.h~	2008-09-01 00:33:55.000000000 -0400
+++ linux-2.6.26.noarch/include/linux/slab.h	2008-09-01 00:34:19.000000000 -0400
@@ -272,7 +272,7 @@ static inline void *kmem_cache_zalloc(st
  * @size: how many bytes of memory are required.
  * @flags: the type of memory to allocate (see kmalloc).
  */
-static inline void *kzalloc(size_t size, gfp_t flags)
+static __always_inline void *kzalloc(size_t size, gfp_t flags)
 {
 	return kmalloc(size, flags | __GFP_ZERO);
 }


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.917
retrieving revision 1.918
diff -u -r1.917 -r1.918
--- kernel.spec	30 Aug 2008 16:31:22 -0000	1.917
+++ kernel.spec	1 Sep 2008 17:39:18 -0000	1.918
@@ -574,7 +574,7 @@
 Patch270: linux-2.6-debug-taint-vm.patch
 Patch280: linux-2.6-debug-spinlock-taint.patch
 Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch
-Patch350: linux-2.6-debug-list_debug_rcu.patch
+Patch360: linux-2.6-debug-always-inline-kzalloc.patch
 Patch370: linux-2.6-crash-driver.patch
 Patch380: linux-2.6-defaults-pci_no_msi.patch
 Patch390: linux-2.6-defaults-acpi-video.patch
@@ -1062,7 +1062,7 @@
 ApplyPatch linux-2.6-debug-taint-vm.patch
 ApplyPatch linux-2.6-debug-spinlock-taint.patch
 ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch
-#ApplyPatch linux-2.6-debug-list_debug_rcu.patch
+ApplyPatch linux-2.6-debug-always-inline-kzalloc.patch
 
 #
 # /dev/crash driver for the crashdump analysis tool
@@ -1744,6 +1744,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Sep 01 2008 Dave Jones <davej at redhat.com>
+- Always inline kzalloc.  And drop busted rcu debug patch
+
 * Sat Aug 30 2008 Dave Jones <davej at redhat.com>
 - 2.6.27-rc5-git2
 


--- linux-2.6-debug-list_debug_rcu.patch DELETED ---




More information about the fedora-extras-commits mailing list