All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Joe Korty <joe.korty@ccur.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	"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 17:24:04 +0200	[thread overview]
Message-ID: <20120522152404.GW27374@one.firstfloor.org> (raw)
In-Reply-To: <20120522133858.GA17487@tsunami.ccur.com>

On Tue, May 22, 2012 at 09:38:58AM -0400, Joe Korty wrote:
> 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.

I think you have to. Relying on timing like this is just a ticking
time bomb.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.

      reply	other threads:[~2012-05-22 15:24 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
2012-05-22 15:24     ` Andi Kleen [this message]

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=20120522152404.GW27374@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=joe.korty@ccur.com \
    --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 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.