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] [PATCH] Enlarge default NR_CPUS to 64 for x86_64

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] [PATCH] Enlarge default NR_CPUS to 64 for x86_64
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Sat, 8 Aug 2009 14:46:09 -0700 (PDT)
Cc:
Delivery-date: Sat, 08 Aug 2009 14:46:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6A2125F.11B06%keir.fraser@xxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> I think it's a hangover from when there was a cpumask_t inside struct
> page_info. That structure had to be fixed size for i386 to fit in the
> hypervisor's virtual memory footprint.

FYI, xen/include/asm-x86/mm.h still #includes <xen/cpumask.h>
and that include can be removed now (compile tested only).

> -----Original Message-----
> From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
> Sent: Friday, August 07, 2009 10:18 AM
> To: Wei, Gang; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] [PATCH] Enlarge default NR_CPUS to 64 for
> x86_64
> 
> 
> On 07/08/2009 15:59, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote:
> 
> > Not sure about whether we can raise it for i386 too. I am a 
> little confused by
> > below lines in config.h:
> > 
> >     #ifdef __i386__
> >     #if NR_CPUS > 32
> >     #error "Maximum of 32 physical processors supported by 
> Xen on x86_32"
> >     #endif
> >     /* Maximum number of virtual CPUs in multi-processor guests. */
> >     #define MAX_VIRT_CPUS XEN_LEGACY_MAX_VCPUS
> >     #endif
> > 
> > I don't know why this compiling time error was put here for 
> i386 yet. Any body
> > know it?
> 
> I think it's a hangover from when there was a cpumask_t inside struct
> page_info. That structure had to be fixed size for i386 to fit in the
> hypervisor's virtual memory footprint.
> 
>  -- Keir
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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