Messages in this thread | | | Date | Mon, 13 Dec 2004 14:01:42 +0100 | From | Andrea Arcangeli <> | Subject | Re: dynamic-hz |
| |
On Mon, Dec 13, 2004 at 01:51:11PM +0100, Hans Kristian Rosbach wrote: > then in the rest of the code we can use ex: > schedule_timeout(varX*100) for 100ms no matter what hz is.
There's not real difference between a multiplication or a division, and for either cases it doesn't worth to optimize such usage IMHO. I believe the only real cost is the cacheline anyway. - 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/
| |