lkml.org 
[lkml]   [2018]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/2] locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches
On Wed, 28 Mar 2018, Waiman Long wrote:

>+config DEBUG_RWSEMS
>+ bool "RW Semaphore debugging: basic checks"
>+ depends on DEBUG_KERNEL && RWSEM_SPIN_ON_OWNER

Why depend on RWSEM_SPIN_ON_OWNER? Doesn't everyone benefit from this?
For example, DEBUG_MUTEXES does not need it.

Thanks,
Davidlohr

\
 
 \ /
  Last update: 2018-03-29 03:45    [W:0.106 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site