Re: MSEC_TO_JIFFIES is messed up...

From: Andrew Morton
Date: Wed May 12 2004 - 16:24:45 EST


Ingo Molnar <mingo@xxxxxxx> wrote:
>
> yet another patch - this time it's: complete, covers irda, accelerates
> HZ=100, unifies the slightly differing namespaces and compiles/boots as
> well.
>
> ...
>
> [hz-cleanup-2.6.6-A2 text/plain (2657 bytes)]

This doesn't have the little round up which some implementations had, so
someone who tries to sleep for 9 millisscondes on a 100HZ box may end up in
a busywait. Looks risky.

The SCTP version looks like it'll generate awful code, so let's not use
that.

-
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/