rpms/kernel/devel xen-sched-sedf.patch, NONE, 1.1 kernel-2.6.spec, 1.2046, 1.2047
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Mar 13 17:14:01 UTC 2006
- Previous message (by thread): rpms/evolution-connector/devel .cvsignore, 1.28, 1.29 evolution-connector.spec, 1.54, 1.55 sources, 1.28, 1.29
- Next message (by thread): rpms/evolution-data-server/devel .cvsignore, 1.40, 1.41 evolution-data-server.spec, 1.86, 1.87 sources, 1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jmorris
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23159
Modified Files:
kernel-2.6.spec
Added Files:
xen-sched-sedf.patch
Log Message:
Modify default parameters for dom0 sched-sedf so that domX's don't
get soft cpu lockups when dom0 and they are under heavy load.
Addresses bz 181856.
xen-sched-sedf.patch:
sched_sedf.c | 6 ++++++
1 files changed, 6 insertions(+)
--- NEW FILE xen-sched-sedf.patch ---
Signed-off-by: James Morris <jmorris at redhat.com>
--- xen-3.0.1/xen/common/sched_sedf.c 2006-03-01 17:39:01.000000000 -0500
+++ xen-3.0.1.w/xen/common/sched_sedf.c 2006-03-13 02:29:18.000000000 -0500
@@ -374,9 +374,15 @@
if ( d->domain->domain_id == 0 )
{
/*set dom0 to something useful to boot the machine*/
+ /*
+ * jmorris at redhat.com: workaround to stop soft cpu lockups
+ * in guests, per
+ * http://lists.xensource.com/archives/html/xen-devel/2006-02/msg00721.html
+ */
inf->period = MILLISECS(20);
inf->slice = MILLISECS(15);
inf->latency = 0;
+ inf->extraweight = 1;
inf->deadl_abs = 0;
inf->status = EXTRA_AWARE | SEDF_ASLEEP;
}
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.2046
retrieving revision 1.2047
diff -u -r1.2046 -r1.2047
--- kernel-2.6.spec 12 Mar 2006 00:53:16 -0000 1.2046
+++ kernel-2.6.spec 13 Mar 2006 17:13:58 -0000 1.2047
@@ -421,6 +421,9 @@
# Do not add anything non-trivial here.
Patch10001: linux-2.6-random-patches.patch
+# Xen hypervisor patches
+Patch20000: xen-sched-sedf.patch
+
# END OF PATCH DEFINITIONS
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -705,6 +708,7 @@
%if %{buildxen}
cd xen
# Any necessary hypervisor patches go here
+%patch20000 -p2
cd ..
%endif
cd linux-%{kversion}.%{_target_cpu}
- Previous message (by thread): rpms/evolution-connector/devel .cvsignore, 1.28, 1.29 evolution-connector.spec, 1.54, 1.55 sources, 1.28, 1.29
- Next message (by thread): rpms/evolution-data-server/devel .cvsignore, 1.40, 1.41 evolution-data-server.spec, 1.86, 1.87 sources, 1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list