Re: [PATCH] ia64: change usermode HZ to 250

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nothing is broken.  Read Alan's statement carefully...

 --david

On 7/8/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:


> 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



--
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
-
: 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]

  Powered by Linux