Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1176690
| From | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: config RCU_EQS_DEBUG |
| Date | 2015-07-03 18:10 +0200 |
| Message-ID | <pIbHj-2fv-1@gated-at.bofh.it> (permalink) |
| References | <pI4cN-62a-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 03, 2015 at 10:07:45AM +0200, Jean Delvare wrote: > Hi Paul, > > You just introduced a Linux kernel configuration option named > RCU_EQS_DEBUG. Its short description is "Use this when adding any sort > of NO_HZ support to your arch". > > I'm afraid this is a bad way to briefly explain what the option > actually does (which is what the short description is for.) A sentence > like "use this when adding any sort of NO_HZ support to your arch" > should go in the help text, not the short description. The short > description should be something like along the lines of "Enable > consistency checks for RCU", for example. > > Additionally I see some inconsistency in the fact that this option > defaults to n but the help text says "Say Y if you are unsure". BTW, > option RCU_CPU_STALL_INFO is equally inconsistent with a default y and > "say N if you are unsure" in the help text. Hello, Jean, I have the following queued, which should address your first point. Would adding "default y" address your other point? On RCU_CPU_STALL_INFO, I have a patch queued for v4.3 that eliminates this Kconfig option completely. Thanx, Paul ------------------------------------------------------------------------ rcu: Clarify CONFIG_RCU_EQS_DEBUG help text Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6be521990d61..80efaade5e59 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1360,7 +1360,7 @@ config RCU_TRACE Say N if you are unsure. config RCU_EQS_DEBUG - bool "Use this when adding any sort of NO_HZ support to your arch" + bool "Provide debugging asserts for adding NO_HZ support to an arch" depends on DEBUG_KERNEL help This option provides consistency checks in RCU's handling of -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: config RCU_EQS_DEBUG "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-07-03 18:10 +0200 Re: config RCU_EQS_DEBUG Jean Delvare <jdelvare@suse.de> - 2015-07-05 11:00 +0200
csiph-web