Messages in this thread | | | Subject | Re: [PATCH] 2.4: variable HZ | From | Robert Love <> | Date | 18 Oct 2002 14:44:16 -0400 |
| |
On Fri, 2002-10-18 at 07:51, Neil Conway wrote:
> I was looking at your jiffies_to_clock_t() macro, and I notice that it > will screw up badly if the user chooses a HZ value that isn't a multiple > of the normal value (e.g. 1000 is OK, 512 isn't).
OK, sure, but why specify a power-of-two HZ? There is absolutely no reason to, at least on x86.
Want 512? 500 will do just as well and has the benefit of (a) being a multiple of the previous HZ and (b) evenly dividing into our concept of time.
Robert Love
- 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/
| |