[lkml]   [2019]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 08/16] locking/rwsem: Make rwsem_spin_on_owner() return owner state
On 04/17/2019 06:19 AM, Peter Zijlstra wrote:
> On Sat, Apr 13, 2019 at 01:22:51PM -0400, Waiman Long wrote:
>> In the special case that there is no active lock and the handoff bit
>> is set, optimistic spinning has to be stopped.
> This makes me think this should've been _before_ you added the handoff
> bit. So that when you introduce the handoff, everything is solid.

I can move it forward if you think it is the right move.


 \ /
  Last update: 2019-04-17 18:54    [W:0.101 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site