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/
Home Products Support Community News


Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB

To: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 22 Dec 2009 07:35:10 +0000
Cc: Kurt Hackel <kurt.hackel@xxxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Delivery-date: Mon, 21 Dec 2009 23:35:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091221154003.36966498@xxxxxxxxxxxxxxxxxxxx>
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
Thread-index: AcqCl0TYlgk5PV2gRK6U+7iUsVhK2gAQgV5F
Thread-topic: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system
User-agent: Microsoft-Entourage/
On 21/12/2009 23:40, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> Actually, INITIAL_JIFFIES appears to be buggy on 64bit linux:
> #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
> The casting to uint makes it still 0xfffedb08 instead of
> 0xfffffffffffedb08 which is what the intention is, that jiffies should
> wrap in few minutes. So, if they fix it in linux in future, my
> patch will still have the same problem.

Actually the cast to unsigned int is deliberate. They want jiffies to wrap
32 bits soon after boot, but it should pretty much never wrap 64 bits.

 -- Keir

Xen-devel mailing list

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