lkml.org 
[lkml]   [2008]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (BUG?) round_jiffies() is non-monotonic on SMP
On Sat, 1 Nov 2008 22:36:30 -0400 (EDT)
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Sat, 1 Nov 2008, Arjan van de Ven wrote:
>
> > > Come to think of it, is there any good reason why
> > > round_jiffies() doesn't always round up? It seems a lot safer.
> >
> > at the time folks had concerns about making a big error in that
> > direction...
>
> All right then. Would it be preferable to add a new
> round_jiffies_up() routine, or to change round_jiffies() so that it
> never rounds down?

I'd prefer the former.
But to be honest.. I would even more prefer the use of range timers ;)
They're in 2.6.28-rc now ... and more power friendly than rounded timers
(although I will readily admit that rounding is just easier)



--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2008-11-02 03:47    [W:0.041 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site