Mailinglist Archive: yast-commit (939 mails)
| < Previous | Next > |
[yast-commit] r53395 - in /trunk/yast2: library/system/src/Kernel.ycp package/yast2.changes
- From: lslezak@xxxxxxxxxxxxxxxx
- Date: Tue, 18 Nov 2008 18:07:48 -0000
- Message-id: <20081118180749.0E2F39E4C7@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Tue Nov 18 19:07:48 2008
New Revision: 53395
URL: http://svn.opensuse.org/viewcvs/yast?rev=53395&view=rev
Log:
- select kernel-maxcpus on x86_64 when there are more than 128
processors (bnc#444658)
Modified:
trunk/yast2/library/system/src/Kernel.ycp
trunk/yast2/package/yast2.changes
Modified: trunk/yast2/library/system/src/Kernel.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/system/src/Kernel.ycp?rev=53395&r1=53394&r2=53395&view=diff
==============================================================================
--- trunk/yast2/library/system/src/Kernel.ycp (original)
+++ trunk/yast2/library/system/src/Kernel.ycp Tue Nov 18 19:07:48 2008
@@ -412,6 +412,16 @@
}
else if (Arch::x86_64())
{
+ integer proc_num = size((list)SCR::Read(.probe.cpu));
+
+ y2milestone("Detected %1 processors", proc_num);
+
+ if (proc_num > 128)
+ {
+ y2milestone ("Kernel switch: More than 128 processors detected,
using kernel-maxcpus package");
+ kernel_packages = ["kernel-maxcpus"];
+ }
+
if (xen)
{
y2milestone("Adding Xen PV drivers: xen-kmp-default");
Modified: trunk/yast2/package/yast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=53395&r1=53394&r2=53395&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Tue Nov 18 19:07:48 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Nov 18 19:10:22 CET 2008 - lslezak@xxxxxxx
+
+- select kernel-maxcpus on x86_64 when there are more than 128
+ processors (bnc#444658)
+
+-------------------------------------------------------------------
Fri Nov 14 16:26:33 CET 2008 - sh@xxxxxxx
- Consistent behaviour for Wizard::HideAbortButton() (bnc #444176)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Nov 18 19:07:48 2008
New Revision: 53395
URL: http://svn.opensuse.org/viewcvs/yast?rev=53395&view=rev
Log:
- select kernel-maxcpus on x86_64 when there are more than 128
processors (bnc#444658)
Modified:
trunk/yast2/library/system/src/Kernel.ycp
trunk/yast2/package/yast2.changes
Modified: trunk/yast2/library/system/src/Kernel.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/system/src/Kernel.ycp?rev=53395&r1=53394&r2=53395&view=diff
==============================================================================
--- trunk/yast2/library/system/src/Kernel.ycp (original)
+++ trunk/yast2/library/system/src/Kernel.ycp Tue Nov 18 19:07:48 2008
@@ -412,6 +412,16 @@
}
else if (Arch::x86_64())
{
+ integer proc_num = size((list)SCR::Read(.probe.cpu));
+
+ y2milestone("Detected %1 processors", proc_num);
+
+ if (proc_num > 128)
+ {
+ y2milestone ("Kernel switch: More than 128 processors detected,
using kernel-maxcpus package");
+ kernel_packages = ["kernel-maxcpus"];
+ }
+
if (xen)
{
y2milestone("Adding Xen PV drivers: xen-kmp-default");
Modified: trunk/yast2/package/yast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=53395&r1=53394&r2=53395&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Tue Nov 18 19:07:48 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Nov 18 19:10:22 CET 2008 - lslezak@xxxxxxx
+
+- select kernel-maxcpus on x86_64 when there are more than 128
+ processors (bnc#444658)
+
+-------------------------------------------------------------------
Fri Nov 14 16:26:33 CET 2008 - sh@xxxxxxx
- Consistent behaviour for Wizard::HideAbortButton() (bnc #444176)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |