From: Andrew Morton <akpm@linux-foundation.org>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Brian Behlendorf <behlendorf1@llnl.gov>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Make div64_u64() precise on 32bit platforms
Date: Thu, 21 Oct 2010 12:22:32 -0700 [thread overview]
Message-ID: <20101021122232.10d2d573.akpm@linux-foundation.org> (raw)
In-Reply-To: <20101021181220.GA8827@redhat.com>
On Thu, 21 Oct 2010 20:12:20 +0200
Oleg Nesterov <oleg@redhat.com> wrote:
> Andrew, please drop
>
> lib-div64c-document-that-div64_u64-is-not-precise-on-32bit-platforms.patch
>
> On 10/21, Brian Behlendorf wrote:
> >
> > I think we should use your simpler version. There's no good reason to
> > make this more complicated than it needs to be. I haven't been able to
> > find a test case where your changes get the wrong result.
>
> Great!
>
> > From: Brian Behlendorf <behlendorf1@llnl.gov>
> > Date: Thu, 5 Aug 2010 14:59:11 -0700
> > Subject: [PATCH] Fix div64_u64 for 32bit platforms
> >
> > The current implementation of div64_u64 for 32bit systems returns
> > an approximately correct result when the divisor exceeds 32bits.
> > Since doing 64bit division using 32bit hardware is a long since
> > solved problem we just use one of the existing proven methods.
>
> Brian, you forgot to add your sob. Hopefully Andrew can add
>
> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
OK..
Just to tie all this off, you originally said "We have a bug report
which blames div64_u64() on 32bit platforms.". Where is that bug report?
Thanks.
next prev parent reply other threads:[~2010-10-21 19:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 19:26 [PATCH] Make div64_u64() precise on 32bit platforms Brian Behlendorf
2010-10-13 21:37 ` Oleg Nesterov
2010-10-14 12:11 ` Oleg Nesterov
2010-10-21 17:46 ` Brian Behlendorf
2010-10-21 18:12 ` Oleg Nesterov
2010-10-21 19:22 ` Andrew Morton [this message]
2010-10-21 19:49 ` Oleg Nesterov
-- strict thread matches above, loose matches on Subject: below --
2010-08-02 16:09 [PATCH] trivial, document that div64_u64() is not " Oleg Nesterov
2010-08-03 22:28 ` Andrew Morton
2010-08-09 16:30 ` [PATCH] Make div64_u64() " Brian Behlendorf
2010-09-17 0:00 ` Oleg Nesterov
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=20101021122232.10d2d573.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=behlendorf1@llnl.gov \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox