lkml.org 
[lkml]   [2010]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tip:perf/core] perf: Per-pmu-per-cpu contexts
From
Date
On Fri, 2010-09-10 at 08:37 -0700, Paul E. McKenney wrote:
> > So, you say below that it works because synchronize_srcu(), that
> > waits for qs after touching pmus, implies synchronize_sched(), right?
>
> Ook... My current plans to fold SRCU into TREE_RCU would invalidate
> this assumption.
>
> Maybe we need some sort of primitive that concurrently waits for
> multiple types of RCU grace periods?

Nah, but I was thinking that any kind of preemptible rcu sync would
imply a sched rcu sync.

If not strictly implied I'd have no problem simply writing:

synchronize_rcu_sched();
synchronize_srcu();




\
 
 \ /
  Last update: 2010-09-10 17:49    [from the cache]
©2003-2011 Jasper Spaans