lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC tip/core/rcu 12/15] lib/assoc_array: Remove smp_read_barrier_depends()
On Wed, Oct 11, 2017 at 06:54:05PM +0200, Peter Zijlstra wrote:
> On Wed, Oct 11, 2017 at 09:47:48AM -0700, Paul E. McKenney wrote:
> > Interesting. Do we currently have any dependencies headed by
> > this_cpu_read()?
>
> Nope, but almost, look for: cpufreq_update_util_data.

This, you mean?

data = rcu_dereference_sched(*this_cpu_ptr(&cpufreq_update_util_data));

True, a non-RCU dependency use case would want to use ACCESS_ONCE()
in the new regime.

Thanx, Paul

\
 
 \ /
  Last update: 2017-10-11 19:07    [W:3.991 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site