Re: (BUG?) round_jiffies() is non-monotonic on SMP

From: Alan Stern
Date: Sat Nov 01 2008 - 22:41:42 EST


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?

Alan Stern

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