WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [xen-unstable test] 8803: regressions - FAIL

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [xen-unstable test] 8803: regressions - FAIL
From: Laszlo Ersek <lersek@xxxxxxxxxx>
Date: Thu, 01 Sep 2011 20:55:01 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 01 Sep 2011 11:54:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1314894926.28989.146.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <osstest-8803-mainreport@xxxxxxx> <20063.45421.271505.189374@xxxxxxxxxxxxxxxxxxxxxxxx> <1314894926.28989.146.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.12
On 09/01/11 18:35, Ian Campbell wrote:

diff -r bb97bd46df6c -r 4309ff953500 xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Thu Sep 01 16:03:21 2011 +0100
+++ b/xen/include/asm-x86/config.h      Thu Sep 01 17:34:41 2011 +0100
@@ -49,6 +49,8 @@

  #ifdef MAX_PHYS_CPUS
  #define NR_CPUS MAX_PHYS_CPUS
+#elif defined __i386__
+#define NR_CPUS 128
  #else
  #define NR_CPUS 256
  #endif

Ah, sorry. This special-casing / after-the-fact #error for 32-bit is actually there in the RHEL-5 fork, and there I bumped only the x86_64 default (the 32-bit one is set to 32). When I looked at the upstream source, I noticed only a single case (set to 128), and I figured upstream either makes the 32/64 distinction by different means, or they support 128 PCPUs on 32-bit too, and 128 being >> than 32, I thought 256 should be fine as well.

I was wrong, sorry for wasting your time.

lacos

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>