From mboxrd@z Thu Jan 1 00:00:00 1970 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935092AbaH0PTf (ORCPT ); Wed, 27 Aug 2014 11:19:35 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:34797 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934523AbaH0PTe (ORCPT ); Wed, 27 Aug 2014 11:19:34 -0400 From: Rob Clark To: linux-kernel@vger.kernel.org Cc: maarten.lankhorst@canonical.com, Daniel Vetter , dri-devel@lists.freedesktop.org, 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> X-Mailer: git-send-email 1.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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