From: "Paul E. McKenney" <paulmck@linux.ibm.com>
To: Mark Morrissey <markem@pdx.edu>
Cc: alexey.roytman@oracle.com, perfbook@vger.kernel.org
Subject: Re: Parallel programming book query
Date: Wed, 19 Dec 2018 16:45:25 -0800 [thread overview]
Message-ID: <20181220004525.GZ4170@linux.ibm.com> (raw)
In-Reply-To: <CAGnMLyzE5pjntT4Hz1PZaLKbz-2LSP=ziK60yWyNbwr4=WBdAg@mail.gmail.com>
On Mon, Dec 17, 2018 at 01:04:37PM -0800, Mark Morrissey wrote:
> Hi Paul,
>
> I am looking at your parallel programming book, 12/5/2018 version. In
> formula E.6, you use the floor function rather than the ceiling function.
> Is this deliberate or perhaps in error?
Good question!
The intent is that the "+ s - 1" in the numerator does the upwards part
of the rounding, and the floor function does the rest.
Or am I missing something here? It should be possible to express this
in terms of the ceiling function, though that would be further removed
from C code implementing this equation.
Adding Alexey and the list on CC. This is on page 423 (PDF page 435) of
https://mirrors.edge.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.2018.12.08a.pdf
Thanx, Paul
next parent reply other threads:[~2018-12-20 0:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGnMLyzE5pjntT4Hz1PZaLKbz-2LSP=ziK60yWyNbwr4=WBdAg@mail.gmail.com>
2018-12-20 0:45 ` Paul E. McKenney [this message]
2018-12-20 1:13 ` Parallel programming book query Mark Morrissey
2018-12-20 4:35 ` Paul E. McKenney
2018-12-20 16:17 ` Mark Morrissey
2018-12-20 16:56 ` Paul E. McKenney
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=20181220004525.GZ4170@linux.ibm.com \
--to=paulmck@linux.ibm.com \
--cc=alexey.roytman@oracle.com \
--cc=markem@pdx.edu \
--cc=perfbook@vger.kernel.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.