Re: [PATCH] 2.4: variable HZ

From: Tim Schmielau (tim@physik3.uni-rostock.de)
Date: Fri Oct 18 2002 - 13:27:38 EST


On 15 Oct 2002, Robert Love wrote:
> I backported the jiffies_to_clock_t() code from 2.5 to 2.4, mostly just
> for fun.
...
> Oh, and I did not backport 64-bit jiffies yet.

If you would, how would you call the analogous function for 64 bit values?
And the type it returns?

The patches to make the kernel interfaces use the 64 bit jiffies value sit
in Davej's tree since around 2.5.20-dj3, just waiting for the answer to
these questions.

jiffies_64_to_clock_t_64() seems a bit lengthy. My current personal
favourite would be jiffies_64_to_user_HZ(), just returning an u64, so that
we don't keep on inventing silly types that get used just a very few
times.

Just my 0.02 euro, though.

Tim

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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:43 EST