[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 3/3] locking/mutex: Ensure forward progress of waiter-spinner
On 08/10/2016 05:29 AM, Peter Zijlstra wrote:
> On Tue, Aug 09, 2016 at 02:00:00PM -0400, Waiman Long wrote:
>>> Alternative might be to use the LSB of mutex::owner, but that's going to
>>> be somewhat icky too.
>> I was thinking about doing that. However, the owner field is used in quite a
>> number of places. It may be a bit risky to change all of them.
> Agreed.

It will be easier to do that for rwsem as the owner field isn't used for
the debug code, unlike the mutex.


 \ /
  Last update: 2016-08-11 00:01    [W:0.048 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site