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

[Xen-devel] [PATCH] sparse: makes dom0 boot on SMP

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] sparse: makes dom0 boot on SMP
From: Ryan Grimm <grimm@xxxxxxxxxx>
Date: Wed, 12 Oct 2005 18:13:52 -0500 (CDT)
Delivery-date: Wed, 12 Oct 2005 23:11:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

recently, i have been unable to boot dom0 with SMP on an x86 and x86_64 box with the latest changeset. today, i was able to boot dom0 reliably by unapplying the patch from changeset 7275 to 7276 (that is included as the first attachment as a reference).

starting with a fresh pull, i am able to boot dom0 by making NS_PER_TICK a signed long long instead of unsigned long long (patch included as second attachment).

i assume the original motivation of changing NS_PER_TICK to a 64-bit value was for the jiffies_to_st function, since it includes a multiply, delta * NS_PER_TICK.

The only other function NS_PER_TICK seems to appear in is timer_interrupt(). i do not know why the original change from signed to unsigned would cause dom0 to fail on my smp machines. perhaps someone with more knowledge of time.c can shed some light?

thanks,
ryan

Attachment: 7276.patch
Description: diff of 7275 to 7276

Attachment: smp_fix.patch
Description: patch to make dom0 boot with SMP

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>