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

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

 



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?

The Linux man page for times(2) specifically says "ticks" and refers
to sysconf for how to determine how long a "tick" is.  So ia64 matches
the man page.  Dunno if that matches POSIX though.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux