Re: [PATCH v3 4/4] locking/rwsem: Streamline the rwsem_optimistic_spin() code

2016-05-17 Thread Peter Hurley
On 05/12/2016 03:56 PM, Waiman Long wrote: > This patch moves the owner loading and checking code entirely inside of > rwsem_spin_on_owner() to simplify the logic of rwsem_optimistic_spin() > loop. Thanks for this. Reviewed-by: Peter Hurley

[PATCH v3 4/4] locking/rwsem: Streamline the rwsem_optimistic_spin() code

2016-05-12 Thread Waiman Long
This patch moves the owner loading and checking code entirely inside of rwsem_spin_on_owner() to simplify the logic of rwsem_optimistic_spin() loop. Suggested-by: Peter Hurley Signed-off-by: Waiman Long --- kernel/locking/rwsem-xadd.c | 38 -- 1 files chang