Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Subject:
Date: Tuesday, April 6, 2010 - 10:29 am

On Tue, Apr 06, 2010 at 05:14:03PM +0100, David Howells wrote:

OK, just to make sure I understand you...  You are asking for two additional
RCU API members:

1.	rcu_access_pointer() or some such that includes ACCESS_ONCE(),
	but not smp_read_barrier_depends(), which may be used when
	we are simply examining the value of the RCU-protected pointer
	(as in the NFS case).  It could also be used when the
	appropriate update-side lock is held, but for that we have:

2.	rcu_dereference_protected() or some such that includes neither
	ACCESS_ONCE() nor smp_read_barrier_depends(), and that may
	only be used if updates are prevented, for example, by holding
	the appropriate update-side lock.

Does this fit?

							Thanx, Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Mon Mar 29, 12:21 pm)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Tue Mar 30, 10:01 am)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Tue Mar 30, 10:25 am)
Re: [PATCH] NFS: Fix RCU warnings in nfs_inode_return_dele ..., Paul E. McKenney, (Wed Mar 31, 11:30 am)
[No subject], David Howells, (Tue Apr 6, 9:14 am)
[No subject], Paul E. McKenney, (Tue Apr 6, 10:29 am)
RCU condition checks, David Howells, (Wed Apr 7, 9:35 am)
Re: RCU condition checks, Paul E. McKenney, (Wed Apr 7, 10:10 am)
Re: RCU condition checks, Trond Myklebust, (Sun Apr 11, 3:57 pm)
Re: RCU condition checks, Paul E. McKenney, (Mon Apr 12, 9:47 am)