[lkml]   [2005]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RCU + SMR for preemptive kernel/user threads.
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-05-10 03:14    [W:0.040 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site