From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752113AbcHNIYe (ORCPT ); Sun, 14 Aug 2016 04:24:34 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55336 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751627AbcHNIY2 (ORCPT ); Sun, 14 Aug 2016 04:24:28 -0400 X-IBM-Helo: d03dlp01.boulder.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com Date: Sat, 13 Aug 2016 19:40:22 -0700 From: "Paul E. McKenney" To: SeongJae Park Cc: josh@joshtriplett.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rcutorture: Print out barrier error as document says Reply-To: paulmck@linux.vnet.ibm.com References: <1471071275-12671-1-git-send-email-sj38.park@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1471071275-12671-1-git-send-email-sj38.park@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16081402-0020-0000-0000-0000098BF849 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00005590; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000181; SDB=6.00744280; UDB=6.00350617; IPR=6.00516821; BA=6.00004660; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00012334; XFM=3.00000011; UTC=2016-08-14 02:40:19 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16081402-0021-0000-0000-0000548BA5AA Message-Id: <20160814024022.GH3482@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-13_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608140036 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 13, 2016 at 03:54:35PM +0900, SeongJae Park wrote: > Test for rcu_barrier() has introduced by commit fae4b54f28f0 ("rcu: > Introduce rcutorture testing for rcu_barrier()"). Updated document says > that `rtbe` field of output indicates failure of the test. However, the > code has not updated as so. This commit updates the code to print out > the field as document says. > > Signed-off-by: SeongJae Park Good catch, queue! Thanx, Paul > --- > kernel/rcu/rcutorture.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c > index f0f32f8..ac29017 100644 > --- a/kernel/rcu/rcutorture.c > +++ b/kernel/rcu/rcutorture.c > @@ -1259,8 +1259,9 @@ rcu_torture_stats_print(void) > atomic_read(&n_rcu_torture_alloc), > atomic_read(&n_rcu_torture_alloc_fail), > atomic_read(&n_rcu_torture_free)); > - pr_cont("rtmbe: %d rtbke: %ld rtbre: %ld ", > + pr_cont("rtmbe: %d rtbe: %ld rtbke: %ld rtbre: %ld ", > atomic_read(&n_rcu_torture_mberror), > + n_rcu_torture_barrier_error, > n_rcu_torture_boost_ktrerror, > n_rcu_torture_boost_rterror); > pr_cont("rtbf: %ld rtb: %ld nt: %ld ", > -- > 1.9.1 >