From: Rob Clark Subject: [PATCH] ww-mutex: clarify help text for DEBUG_WW_MUTEX_SLOWPATH Date: Wed, 27 Aug 2014 11:19:26 -0400 Message-ID: <1409152766-31320-1-git-send-email-robdclark@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by gabe.freedesktop.org (Postfix) with ESMTP id CFCBF6E05D for ; Wed, 27 Aug 2014 08:19:33 -0700 (PDT) Received: by mail-qg0-f46.google.com with SMTP id z60so383158qgd.19 for ; Wed, 27 Aug 2014 08:19:33 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: linux-kernel@vger.kernel.org Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org We really don't want distro's enabling this in their kernels. Try and make that more clear. Signed-off-by: Rob Clark --- lib/Kconfig.debug | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 07c2832..1b233fc 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -892,6 +892,10 @@ config DEBUG_WW_MUTEX_SLOWPATH the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this will test all possible w/w mutex interface abuse with the exception of simply not acquiring all the required locks. + Note that this feature can introduce significant overhead, so + it really should not be enabled in a production or distro kernel, + even a debug kernel. If you are a driver writer, enable it. If + you are a distro, do not. config DEBUG_LOCK_ALLOC bool "Lock debugging: detect incorrect freeing of live locks" -- 1.9.3