Re: [PATCH 4/8] srcu: srcu_read_lock() can be called from offline cpu

2012-12-05 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 04:46:05PM +0800, Lai Jiangshan wrote: > SRCU is based on its own statemachine and it doesn't > relies on normal RCU now, its read critical section can be used in > offline cpu, so we remove the check and the comments. > > It partially reverts c0d6d01b(the part for SRCU).

Re: [PATCH 4/8] srcu: srcu_read_lock() can be called from offline cpu

2012-12-05 Thread Paul E. McKenney
On Thu, Nov 29, 2012 at 04:46:05PM +0800, Lai Jiangshan wrote: SRCU is based on its own statemachine and it doesn't relies on normal RCU now, its read critical section can be used in offline cpu, so we remove the check and the comments. It partially reverts c0d6d01b(the part for SRCU). It

[PATCH 4/8] srcu: srcu_read_lock() can be called from offline cpu

2012-11-29 Thread Lai Jiangshan
SRCU is based on its own statemachine and it doesn't relies on normal RCU now, its read critical section can be used in offline cpu, so we remove the check and the comments. It partially reverts c0d6d01b(the part for SRCU). It also makes the codes match the comments in whatisRCU.txt: g. Do

[PATCH 4/8] srcu: srcu_read_lock() can be called from offline cpu

2012-11-29 Thread Lai Jiangshan
SRCU is based on its own statemachine and it doesn't relies on normal RCU now, its read critical section can be used in offline cpu, so we remove the check and the comments. It partially reverts c0d6d01b(the part for SRCU). It also makes the codes match the comments in whatisRCU.txt: g. Do