From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759236AbdADQRV (ORCPT ); Wed, 4 Jan 2017 11:17:21 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47839 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750729AbdADQRS (ORCPT ); Wed, 4 Jan 2017 11:17:18 -0500 Date: Wed, 4 Jan 2017 08:17:12 -0800 From: "Paul E. McKenney" To: Steven Rostedt Cc: Enrico Mioso , linux-kernel@vger.kernel.org, Josh Triplett , Mathieu Desnoyers Subject: Re: INFO: rcu_sched self-detected stall on CPU Reply-To: paulmck@linux.vnet.ibm.com References: <20170104134608.GJ3742@linux.vnet.ibm.com> <20170104091631.78af9d45@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170104091631.78af9d45@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17010416-0016-0000-0000-0000058ED5B4 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006372; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000199; SDB=6.00803465; UDB=6.00390879; IPR=6.00581316; BA=6.00005030; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013822; XFM=3.00000011; UTC=2017-01-04 16:17:15 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17010416-0017-0000-0000-000035FBECC3 Message-Id: <20170104161712.GL3742@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-01-04_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1701040255 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 04, 2017 at 09:16:31AM -0500, Steven Rostedt wrote: > On Wed, 4 Jan 2017 05:46:08 -0800 > "Paul E. McKenney" wrote: > > > I suggest enabling tracing for timers with a goal of working out why > > the rcu_sched task is not being awakened regularly -- during a grace > > period, it should be awakened every three jiffies or so (depending on > > the value of HZ). > > Perhaps enable events for rcu, sched and irqs as well? Good point -- but you will need to build with CONFIG_RCU_TRACE=y to get most of the RCU events. Thanx, Paul