From 96f53baf86d051c4c245f9240beed637024d11d8 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 17 Nov 2020 15:22:46 -0500 Subject: [PATCH] cleanup: Improve wording of CONFIG_RCU_DEBUG description Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- configure.ac | 4 ++-- include/urcu/config.h.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a3e200b..bee0dfe 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AH_TEMPLATE([CONFIG_RCU_ARM_HAVE_DMB], [Use the dmb instruction if available for AH_TEMPLATE([CONFIG_RCU_TLS], [TLS provided by the compiler.]) AH_TEMPLATE([CONFIG_RCU_HAVE_CLOCK_GETTIME], [clock_gettime() is detected.]) AH_TEMPLATE([CONFIG_RCU_FORCE_SYS_MEMBARRIER], [Require the operating system to support the membarrier system call for default and bulletproof flavors.]) -AH_TEMPLATE([CONFIG_RCU_DEBUG], [Enable internal debugging self-checks. Introduce performance penalty.]) +AH_TEMPLATE([CONFIG_RCU_DEBUG], [Enable internal debugging self-checks. Introduces a performance penalty.]) AH_TEMPLATE([CONFIG_CDS_LFHT_ITER_DEBUG], [Enable extra debugging checks for lock-free hash table iterator traversal. Alters the rculfhash ABI. Make sure to compile both library and application with matching configuration.]) # Allow requiring the operating system to support the membarrier system @@ -257,7 +257,7 @@ AS_IF([test "x$def_smp_support" = "xyes"], [AC_DEFINE([CONFIG_RCU_SMP], [1])]) # RCU debugging option AC_ARG_ENABLE([rcu-debug], AS_HELP_STRING([--enable-rcu-debug], [Enable internal debugging - self-checks. Introduce performance penalty.])) + self-checks. Introduces a performance penalty.])) AS_IF([test "x$enable_rcu_debug" = "xyes"], [ AC_DEFINE([CONFIG_RCU_DEBUG], [1]) ]) diff --git a/include/urcu/config.h.in b/include/urcu/config.h.in index 8c3e4da..7350631 100644 --- a/include/urcu/config.h.in +++ b/include/urcu/config.h.in @@ -28,7 +28,7 @@ #undef CONFIG_RCU_FORCE_SYS_MEMBARRIER /* Enable internal debugging self-checks. - Introduce performance penalty. */ + Introduces a performance penalty. */ #undef CONFIG_RCU_DEBUG /* Expose multi-flavor support */ -- 2.34.1