Gilles Chanteperdrix wrote:
> Author: gch
> Date: Sun Nov 16 03:30:40 2008
> New Revision: 4392
> URL:
> Log:
> Implement nodiv_ullimd on x86_64
> Modified:
>     trunk/include/asm-x86/arith_64.h

Nice. This solves the user-triggerable kernel oops due to idiv overflows
in the original version (rt_task_sleep_until(1LL<<63);). I happened to
receive such a bug report on Friday and was about to consider
alternative solutions beyond limit checks.

But how accurate is this conversion? I mean how many bits can we lose
when doing xnarch_ns_to_tsc(xnarch_tsc_to_ns(x))?

Final question: Already prepared a 32-bit version? :)


Attachment: signature.asc
Description: OpenPGP digital signature

Xenomai-core mailing list

Reply via email to