Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753520Ab2BCF7E (ORCPT ); Fri, 3 Feb 2012 00:59:04 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:46359 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753233Ab2BCF7C (ORCPT ); Fri, 3 Feb 2012 00:59:02 -0500 Date: Thu, 2 Feb 2012 21:58:21 -0800 From: "Paul E. McKenney" To: Josh Triplett Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@polymtl.ca, niv@us.ibm.com, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, Valdis.Kletnieks@vt.edu, dhowells@redhat.com, eric.dumazet@gmail.com, darren@dvhart.com, fweisbec@gmail.com, patches@linaro.org, "Paul E. McKenney" Subject: Re: [PATCH RFC tip/core/rcu 32/41] rcu: Update stall-warning documentation Message-ID: <20120203055821.GD2380@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20120201194131.GA10028@linux.vnet.ibm.com> <1328125319-5205-1-git-send-email-paulmck@linux.vnet.ibm.com> <1328125319-5205-32-git-send-email-paulmck@linux.vnet.ibm.com> <20120202055639.GS29058@leaf> <20120202181805.GZ2518@linux.vnet.ibm.com> <20120203054258.GC3008@leaf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120203054258.GC3008@leaf> User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12020305-3270-0000-0000-000003B314B2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3165 Lines: 69 On Thu, Feb 02, 2012 at 09:42:58PM -0800, Josh Triplett wrote: > On Thu, Feb 02, 2012 at 10:18:05AM -0800, Paul E. McKenney wrote: > > On Wed, Feb 01, 2012 at 09:56:39PM -0800, Josh Triplett wrote: > > > On Wed, Feb 01, 2012 at 11:41:50AM -0800, Paul E. McKenney wrote: > > > > From: "Paul E. McKenney" > > > > > > > > Add documentation of CONFIG_RCU_CPU_STALL_VERBOSE, CONFIG_RCU_CPU_STALL_INFO, > > > > and RCU_STALL_DELAY_DELTA. Describe multiple stall-warning messages from > > > > a single stall, and the timing of the subsequent messages. Add headings. > > > > > > Don't some of these documentation changes go with earlier patches in > > > this series? > > > > Some could, but there is a fair amount of catch-up here. Since we don't > > need documentation to be bisectable, it makes sense to do a single > > commit to update the documentation. > > I think we've actually had this particular conversation once for each of > the last few rounds of patches. :) > > I agree that documentation doesn't have to allow bisection, but I do > think it generally makes sense to add documentation together with > whatever change it documents whenever possible. Among other things, > doing so makes a series of patches much easier to rearrange and merge. > > When documenting things that previously had no documentation, and didn't > appear in the same patch series, it makes sense to have a separate > commit to add documentation. I'd just suggest that when documenting > things added or changed in the same patch series, the documentation > should go with the addition or change. And I did do that for several of the patches -- my new-found KVM testing capability makes it much more convenient to do that. But if I see that a documentation file is a year or so behind, I don't feel obligated to backport pieces of the changes to previous patches that happened recently enough to not yet be in -tip. Thanx, Paul > > > Also, this commit message doesn't say anything about the removal of > > > RCU_SECONDS_TILL_STALL_RECHECK: > > > > > > > --- a/Documentation/RCU/stallwarn.txt > > > > +++ b/Documentation/RCU/stallwarn.txt > > > > @@ -14,12 +14,36 @@ CONFIG_RCU_CPU_STALL_TIMEOUT > > > > issues an RCU CPU stall warning. This time period is normally > > > > ten seconds. > > > > > > > > -RCU_SECONDS_TILL_STALL_RECHECK > > > [...] > > > > - This macro defines the period of time that RCU will wait after > > > > - issuing a stall warning until it issues another stall warning > > > > - for the same stall. This time period is normally set to three > > > > - times the check interval plus thirty seconds. > > > > It is now computed from CONFIG_RCU_CPU_STALL_TIMEOUT, which has an old > > value for default, which is now fixed. I will add the rationale for > > removing CONFIG_RCU_SECONDS_TILL_STALL_RECHECK to the commit message. > > Thanks. > > - Josh Triplett > -- 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/