Re: [PATCH] ia64: change usermode HZ to 250
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Jeremy Higdon <jeremy@xxxxxxx>
- Subject: Re: [PATCH] ia64: change usermode HZ to 250
- From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
- Date: Sat, 08 Jul 2006 08:42:43 +0200
- Cc: Jes Sorensen <jes@xxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "Luck, Tony" <tony.luck@xxxxxxxxx>, John Daiker <jdaiker@xxxxxxxx>, John Hawkes <hawkes@xxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Jack Steiner <steiner@xxxxxxx>, Dan Higgins <djh@xxxxxxx>
- In-reply-to: <20060708001427.GA723842@xxxxxxx>
- References: <617E1C2C70743745A92448908E030B2A27FC5F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <yq04py4i9p7.fsf@xxxxxxxxxxxxxx> <1151578928.23785.0.camel@xxxxxxxxxxxxxxxxxxxxx> <44A3AFFB.2000203@xxxxxxx> <1151578513.3122.22.camel@xxxxxxxxxxxxxxxxxxxxx> <20060708001427.GA723842@xxxxxxx>
> So does i386 convert the return value of the times(2) call to user
> hertz? On IA64, it returns the value in internal clock ticks, and
> then when a program uses the value in param.h, it gets it wrong now,
> because internal HZ is now 250.
>
> So is times() is broken in IA64, or is this an exception to Alan's
> statement?
yes it's broken; it needs to convert it to the original HZ (1024) and
make the sysconf() function also return 1024
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]