|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB
To: |
Steve Ofsthun <steve.ofsthun@xxxxxxxxxx> |
Subject: |
Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system |
From: |
Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> |
Date: |
Mon, 21 Dec 2009 20:00:25 -0800 |
Cc: |
Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, Hackel <kurt.hackel@xxxxxxxxxx>, Dan, jeremy@xxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Kurt@xxxxxxxxxxxxxxxxxxxx |
Delivery-date: |
Mon, 21 Dec 2009 20:02:34 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4B2FC9E5.4050001@xxxxxxxxxx> |
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: |
<20091217203636.76a10aea@xxxxxxxxxxxxxxxxxxxx> <C750D99F.4B25%keir.fraser@xxxxxxxxxxxxx> <20091218204318.180e58f3@xxxxxxxxxxxxxxxxxxxx> <4B2FC9E5.4050001@xxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Mon, 21 Dec 2009 14:17:57 -0500
Steve Ofsthun <steve.ofsthun@xxxxxxxxxx> wrote:
> As Keir suggests, the correct solution is probably to use the
> time_before/after macros appropriately.
>
> The proposed code avoids the problem by accessing jiffies_64 instead.
can't use time_after/before as they do signed comparisions.
time_after(a,b): ((long)(b) - (long)(a) < 0))
thus, time_after(0xFFFEDB09, 0xFFFEDB08) will return true as will
time_after(0x1020, 0xFFFEDB08) as they are both after 0xFFFEDB08.
For wrapping, unsigned comparision must be done, which is also the jiffies
data type.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, (continued)
- RE: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Jan Beulich
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Keir Fraser
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Mukesh Rathor
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Keir Fraser
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Steve Ofsthun
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system,
Mukesh Rathor <=
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Mukesh Rathor
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Keir Fraser
- Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB system, Keir Fraser
|
|
|
|
|