mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@us.ibm.com>
To: Joe Seigh <jseigh_02@xemaps.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: RCU + SMR for preemptive kernel/user threads.
Date: Mon, 9 May 2005 18:11:43 -0700	[thread overview]
Message-ID: <20050510011143.GC1337@us.ibm.com> (raw)
In-Reply-To: <opsqivh7agehbc72@grunion>

On Mon, May 09, 2005 at 03:09:33PM -0400, Joe Seigh wrote:

[ . . . ]

> *** The per cpu times are in jiffies rounded off from some higher  
> resolution value.
> This means that for n time counters, you may have to wait up to n jiffies  
> for
> at least one round up to occur.  It would be nicer to have the higher  
> resolution
> value or even better a per processor number of interrupts to allow more  
> flexibility
> and finer granularity in polling intervals.

You can use smp_call_function() to invoke a function on each of the
other CPUs.  The implementations of smp_call_function() use inter-processor
interrupts, which should suffice, but you can always make the called
function just execute a memory barrier.

							Thanx, Paul

  reply	other threads:[~2005-05-10  1:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-09 19:09 Joe Seigh
2005-05-10  1:11 ` Paul E. McKenney [this message]
2005-05-10 13:32 ` Joe Seigh
2005-05-10 16:55   ` Paul E. McKenney
2005-05-10 22:40     ` Joe Seigh
2005-05-11 15:04       ` Paul E. McKenney
2005-05-11 21:47         ` Joe Seigh
2005-05-12  0:39           ` Joe Seigh
2005-05-12  1:57           ` 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=20050510011143.GC1337@us.ibm.com \
    --to=paulmck@us.ibm.com \
    --cc=jseigh_02@xemaps.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome