|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [timer/ticks related] dom0 hang during boot on large 1TB
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
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
|
|
|
|
|