Messages in this thread | | | Date | Sat, 11 Jan 2014 19:19:08 +0100 | From | Oleg Nesterov <> | Subject | [PATCH v2 0/2] rcu_dereference_check_fdtable fix/cleanups |
| |
On 01/10, Paul E. McKenney wrote: > > On Fri, Jan 10, 2014 at 04:34:59PM +0100, Oleg Nesterov wrote: > > > > doesn't this look much simpler than adding the "bool unshared" argument > > and changing the callers? > > I might be being too paranoid, but my concern with using rcu_lock_acquire() > and rcu_lock_release()
And I agree, I no longer suggest to use rcu_lock_acquire/release.
It seems that you misunderstood me, let me send v2 for review.
Oleg.
fs/file.c | 30 +++++++++++------------------- include/linux/fdtable.h | 35 +++++++++++++++++++++-------------- include/linux/rcupdate.h | 2 -- kernel/rcu/update.c | 11 ----------- 4 files changed, 32 insertions(+), 46 deletions(-)
| |