Re: [RFC PATCH-tip v2 4/6] locking/rwsem: move down rwsem_down_read_failed function

From: Waiman Long
Date: Wed Jun 15 2016 - 15:21:43 EST


On 06/15/2016 01:40 PM, Peter Zijlstra wrote:
On Tue, Jun 14, 2016 at 06:48:07PM -0400, Waiman Long wrote:
Move the rwsem_down_read_failed() function down to below the optimistic
spinning section before enabling optimistic spinning for the readers.
newline

There is no change in code.
Changelog fails to explain the why part.

Thanks for pointing this out. I will update the changelog to mention that the movement is needed because it is going to call rwsem_optimistic_spin() in later patch.

Cheers,
Longman