Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast() implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, April 16, 2010 - 12:37 pm

On Fri, 2010-04-16 at 09:45 -0700, Paul E. McKenney wrote:
Right, I would argue that they should guarantee fwd progress, but due to
being able to schedule while holding them, its harder to enforce.

Anything that is waiting for uncertainty should do so without any locks
held and simply re-acquire them once such an event does occur.


No, I quite like SRCU when implemented as preemptible tree RCU, and I
don't at all mind that last point, all dynamic things need some sort of
init. All locks certainly have.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Benjamin Herrenschmidt, (Mon Apr 12, 6:05 pm)
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Benjamin Herrenschmidt, (Thu Apr 15, 11:51 pm)
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Benjamin Herrenschmidt, (Thu Apr 15, 11:54 pm)
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Benjamin Herrenschmidt, (Fri Apr 16, 1:29 am)
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Peter Zijlstra, (Fri Apr 16, 12:37 pm)
Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fast ..., Benjamin Herrenschmidt, (Fri Apr 16, 4:25 pm)