From: Joe Korty <joe.korty@ccur.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: "stasn77@gmail.com" <stasn77@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] port jRCU from 3.3 to 3.4
Date: Tue, 22 May 2012 09:38:58 -0400 [thread overview]
Message-ID: <20120522133858.GA17487@tsunami.ccur.com> (raw)
In-Reply-To: <m2vcjp87mf.fsf@firstfloor.org>
On Mon, May 21, 2012 at 06:57:44PM -0400, Andi Kleen wrote:
> Joe Korty <joe.korty@ccur.com> writes:
> > + *
> > + * jRCU assumes that the frames are large enough that architecture barrier
> > + * operations performed in one frame have fully completed by the start of
> > + * the next. This period is presumed to be in the tens of microseconds, so
> > + * it may not be wise to run jRCU at a frame rate under 100 usecs.
>
> This sounds like a very dangerous assumption.
Yeah, I may have to go to a spin lock. Easy to do, but
I didn't want the serialization that results. I figured
that with a frame rate of 20 - 1000 Hz it wasn't necessary.
And of course I may not have fully understood all the
nuances of barriers and the memory model. After all,
spin locks work using pretty much the same techniques and
they don't suffer from any need to delay.
Joe
next prev parent reply other threads:[~2012-05-22 13:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-21 18:45 [PATCH] port jRCU from 3.3 to 3.4 Joe Korty
2012-05-21 22:57 ` Andi Kleen
2012-05-22 13:38 ` Joe Korty [this message]
2012-05-22 15:24 ` Andi Kleen
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=20120522133858.GA17487@tsunami.ccur.com \
--to=joe.korty@ccur.com \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stasn77@gmail.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