[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180329013224.tfryvl6lv5i72jwm@linux-n805>
Date: Wed, 28 Mar 2018 18:32:24 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Waiman Long <longman@...hat.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [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
Powered by blists - more mailing lists