All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [Xenomai-commits] r4392 - /trunk/include/asm-x86/arith_64.h
Date: Sun, 16 Nov 2008 11:35:57 +0100	[thread overview]
Message-ID: <491FF78D.9000609@domain.hid> (raw)
In-Reply-To: <E1L1XPO-0006Xh-1s@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

Gilles Chanteperdrix wrote:
> Author: gch
> Date: Sun Nov 16 03:30:40 2008
> New Revision: 4392
> 
> URL: http://svn.gna.org/viewcvs/xenomai?rev=4392&view=rev
> 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? :)

Jan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

       reply	other threads:[~2008-11-16 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1L1XPO-0006Xh-1s@domain.hid>
2008-11-16 10:35 ` Jan Kiszka [this message]
2008-11-16 12:13   ` [Xenomai-core] [Xenomai-commits] r4392 - /trunk/include/asm-x86/arith_64.h Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491FF78D.9000609@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.