lkml.org 
[lkml]   [2004]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.126 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site