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] Linux 2.6.11 does not build SMP

To: "Kurt Garloff" <kurt@xxxxxxxxxx>, "Kip Macy" <kip.macy@xxxxxxxxx>
Subject: RE: [Xen-devel] Linux 2.6.11 does not build SMP
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 00:47:23 -0000
Cc: "Xen development list" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Mon, 14 Mar 2005 00:47:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUoKkGjlA9tsNMLSHSk5kDgq/ZS5wAAzfqA
Thread-topic: [Xen-devel] Linux 2.6.11 does not build SMP
Guys, just remember that SMP is certainly not ready for putting in front
of users yet.
We're hoping to get back to it sometime this week, but for the moment it
should be considered highly experimental. There are currently lots of
optimisations disabled too. 

If someone's looking for some work to do to help SMP support, it would
be great if you could look into out-of-lining all the spinlocks, and
then writing some code to no-op them if there's only one CPU currently
active. This would elminate most of the overhead of an SMP vs uni
kernel, which would certainly be great for us (as well as for vendor
kernels). 

Ian

> -----Original Message-----
> From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Kurt Garloff
> Sent: 14 March 2005 00:10
> To: Kip Macy
> Cc: Xen development list
> Subject: Re: [Xen-devel] Linux 2.6.11 does not build SMP
> 
> Hi Kip,
> 
> On Sun, Mar 13, 2005 at 03:32:50PM -0800, Kip Macy wrote:
> > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
> > #define QUEUE_SIZE 2048
> > #define pte_offset_kernel pte_offset
> > #define pmd_val_ma(v) (v).pmd;
> > #define pud_t pgd_t
> > #define pud_offset(d, va) d
> > #else
> > #ifdef CONFIG_SMP
> > #define QUEUE_SIZE 1
> > #else
> > #define QUEUE_SIZE 128
> > #define pmd_val_ma(v) (v).pud.pgd.pgd;
> > #endif
> > #endif
> 
> I just moved the second #define pmd_val_ma(v) one line down to make it
> compile. I did not investigate whether it's correct. I guess not, but
> I also guess it does no harm.
> 
> Regards,
> -- 
> Kurt Garloff                   <kurt@xxxxxxxxxx>             
> [Koeln, DE]
> Physics:Plasma modeling <garloff@xxxxxxxxxxxxxxxxxxx> [TU 
> Eindhoven, NL]
> Linux: SUSE Labs (Director)    <garloff@xxxxxxx>            
> [Novell Inc]
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel