rpms/kernel/F-10 linux-2.6-defaults-saner-vm-settings.patch, NONE, 1.1 config-x86-generic, 1.62, 1.63 config-x86_64-generic, 1.60, 1.61 kernel.spec, 1.1301, 1.1302 linux-2.6-vm-raise-default-dirty-data-limits.patch, 1.1, NONE

Chuck Ebbert cebbert at fedoraproject.org
Tue Mar 24 03:15:56 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv734

Modified Files:
	config-x86-generic config-x86_64-generic kernel.spec 
Added Files:
	linux-2.6-defaults-saner-vm-settings.patch 
Removed Files:
	linux-2.6-vm-raise-default-dirty-data-limits.patch 
Log Message:
Change default swappiness setting from 60 to 30.
Build in the pcie hotplug driver on x86.

linux-2.6-defaults-saner-vm-settings.patch:

--- NEW FILE linux-2.6-defaults-saner-vm-settings.patch ---
Raise default dirty data limits, per:
http://marc.info/?l=linux-kernel&m=123707714231039&w=2

Also lower default swappiness from 60 to 30.

--- my-2.6.29-rc8-git4.orig/mm/page-writeback.c
+++ my-2.6.29-rc8-git4/mm/page-writeback.c
@@ -66,7 +66,7 @@ static inline long sync_writeback_pages(
 /*
  * Start background writeback (via pdflush) at this percentage
  */
-int dirty_background_ratio = 5;
+int dirty_background_ratio = 10;
 
 /*
  * dirty_background_bytes starts at 0 (disabled) so that it is a function of
@@ -83,7 +83,7 @@ int vm_highmem_is_dirtyable;
 /*
  * The generator of dirty data starts writeback at this percentage
  */
-int vm_dirty_ratio = 10;
+int vm_dirty_ratio = 20;
 
 /*
  * vm_dirty_bytes starts at 0 (disabled) so that it is a function of
--- linux-2.6.29.noarch.orig/mm/vmscan.c
+++ linux-2.6.29.noarch/mm/vmscan.c
@@ -118,7 +118,7 @@ struct scan_control {
 /*
  * From 0 .. 100.  Higher means more swappy.
  */
-int vm_swappiness = 60;
+int vm_swappiness = 30;
 long vm_total_pages;	/* The total number of pages which the VM controls */
 
 static LIST_HEAD(shrinker_list);


Index: config-x86-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/config-x86-generic,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- config-x86-generic	16 Mar 2009 12:02:23 -0000	1.62
+++ config-x86-generic	24 Mar 2009 03:15:26 -0000	1.63
@@ -230,9 +230,7 @@
 CONFIG_HOTPLUG_PCI_COMPAQ=m
 # CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
 CONFIG_HOTPLUG_PCI_IBM=m
-
 # CONFIG_HOTPLUG_PCI_CPCI is not set
-CONFIG_HOTPLUG_PCI_PCIE=m
 # SHPC has half-arsed PCI probing, which makes it load on too many systems
 # CONFIG_HOTPLUG_PCI_SHPC is not set
 CONFIG_PM=y


Index: config-x86_64-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/config-x86_64-generic,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- config-x86_64-generic	16 Mar 2009 12:02:23 -0000	1.60
+++ config-x86_64-generic	24 Mar 2009 03:15:26 -0000	1.61
@@ -126,7 +126,6 @@
 # CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
 CONFIG_HOTPLUG_PCI_IBM=m
 # CONFIG_HOTPLUG_PCI_CPCI is not set
-CONFIG_HOTPLUG_PCI_PCIE=m
 # SHPC has half-arsed PCI probing, which makes it load on too many systems
 CONFIG_HOTPLUG_PCI_SHPC=m
 CONFIG_HPET=y


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1301
retrieving revision 1.1302
diff -u -r1.1301 -r1.1302
--- kernel.spec	24 Mar 2009 02:24:58 -0000	1.1301
+++ kernel.spec	24 Mar 2009 03:15:26 -0000	1.1302
@@ -593,7 +593,7 @@
 Patch41: linux-2.6-sysrq-c.patch
 
 Patch80: linux-2.6-vm-x86-pat-fix-warnings.patch
-Patch81: linux-2.6-vm-raise-default-dirty-data-limits.patch
+Patch81: linux-2.6-defaults-saner-vm-settings.patch
 
 Patch140: linux-2.6-ps3-ehci-iso.patch
 Patch141: linux-2.6-ps3-storage-alias.patch
@@ -1048,7 +1048,7 @@
 # Architecture patches
 # x86(-64)
 ApplyPatch linux-2.6-vm-x86-pat-fix-warnings.patch
-ApplyPatch linux-2.6-vm-raise-default-dirty-data-limits.patch
+ApplyPatch linux-2.6-defaults-saner-vm-settings.patch
 
 #
 # PowerPC
@@ -1772,6 +1772,10 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Mar 23 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29-2
+- Change default swappiness setting from 60 to 30.
+- Build in the pcie hotplug driver on x86.
+
 * Mon Mar 23 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29-1
 - Linux 2.6.29
 - Dropped linux-2.6-net-tulip-interrupt.patch, merged upstream


--- linux-2.6-vm-raise-default-dirty-data-limits.patch DELETED ---




More information about the fedora-extras-commits mailing list