diff options
author | Rob Clark <robdclark@gmail.com> | 2014-08-27 11:19:26 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-08-27 21:34:43 -0400 |
commit | 4d6923733f158e7f8f0695b43c30c22a59ec0a34 (patch) | |
tree | 32a4f130097806f77fe14c157784998c2e130fff /lib/Kconfig.debug | |
parent | a80612273cf7369e321f101845e7c8844d875cd9 (diff) |
ww-mutex: clarify help text for DEBUG_WW_MUTEX_SLOWPATH
We really don't want distro's enabling this in their kernels. Try and
make that more clear.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 07c28323f88f..1b233fc67466 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -892,6 +892,10 @@ config DEBUG_WW_MUTEX_SLOWPATH | |||
892 | the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this | 892 | the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this |
893 | will test all possible w/w mutex interface abuse with the | 893 | will test all possible w/w mutex interface abuse with the |
894 | exception of simply not acquiring all the required locks. | 894 | exception of simply not acquiring all the required locks. |
895 | Note that this feature can introduce significant overhead, so | ||
896 | it really should not be enabled in a production or distro kernel, | ||
897 | even a debug kernel. If you are a driver writer, enable it. If | ||
898 | you are a distro, do not. | ||
895 | 899 | ||
896 | config DEBUG_LOCK_ALLOC | 900 | config DEBUG_LOCK_ALLOC |
897 | bool "Lock debugging: detect incorrect freeing of live locks" | 901 | bool "Lock debugging: detect incorrect freeing of live locks" |