Received: by 10.192.165.148 with SMTP id m20csp2928709imm; Sun, 22 Apr 2018 19:33:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx49rdiYyVt3U3C/1AxrgOS//EWaNTIB0ThpF1M7GYYdRe6cTek9xMRAvgmlVNPvzcpsV4p+d X-Received: by 2002:a17:902:d20b:: with SMTP id t11-v6mr18896874ply.381.1524450834678; Sun, 22 Apr 2018 19:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524450834; cv=none; d=google.com; s=arc-20160816; b=llSB/4J8grYxbOtroWJuBhS9YWUMWmhZxzEE5spWWblQ0Od5X2wFOtiRE9oLcoWPNW gZPjJctJS24AWVf7Ggk6AMRxLiB6QtXRItY98iu1qMYmDFuV0z0rscHiH/by2U5B520a rNIeQQAeLFLgL0XlJNw8Z/h4nGq+iHS7A9itD0hzmlQq2jlFBBDab5RzP/cYLKDfwE1t 817Sya2EeclGsHCQFNl8M4ZSlwYDzvF4wwTm4WD7H/fGD97SRmVl+XRfhzNFTfftJwnP z/kaZm7VEIUi/REZCSkuU8/LYKXUKzp7K/eFPcq4lJq1v2CcYuas3hn6slsU5KK9sza/ 6NZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=AuaOdt/J+oyoRPizFSA8hDVJl5VCyBxwd6IgP/dNnII=; b=PcSg94VSSsKnV1TrYhXmi1GK7pSGknIJd0d7/j67os5U0ofqPDq1uWXWPnw8qvGOJM CXGf/SZiBVwVc2cmTwhw7Xq4NDMSwPmKK1Pt/VGV9IIFIe9CM62KPSKDP8jB1jO0iVSV bkcWOGmreJYePOxoPB9r8JaBtQn6qTVrz+ukgbmAFq/ahqgeKwtCsB5HpFFN7+u4L6ep 0hSMk9lx7QMrKm7n8KwrjD3/2EhkRH5ctK9uw1Ta3W4uqs7aTuo77gJYynrMUmj5hAmw ZewBjyIwF1lTe7f+mmDHad4BTzItJaZhZDBI8f7uww8hsiVVZ1OKM5cX5xrjVzvPkMh2 ekfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10-v6si9052871plb.177.2018.04.22.19.33.40; Sun, 22 Apr 2018 19:33:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754101AbeDWCcE (ORCPT + 99 others); Sun, 22 Apr 2018 22:32:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45972 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753975AbeDWCbX (ORCPT ); Sun, 22 Apr 2018 22:31:23 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3N2Sxj2067820 for ; Sun, 22 Apr 2018 22:31:23 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hh3xavr1v-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Sun, 22 Apr 2018 22:31:22 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 22 Apr 2018 22:31:22 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 22 Apr 2018 22:31:16 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3N2VGgR50004020; Mon, 23 Apr 2018 02:31:16 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F239BB204E; Sun, 22 Apr 2018 23:33:18 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.149.45]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id B751CB2046; Sun, 22 Apr 2018 23:33:18 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id C284E16C91FE; Sun, 22 Apr 2018 19:32:28 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel.opensrc@gmail.com, "Paul E. McKenney" Subject: [PATCH tip/core/rcu 19/22] EXP: rcu: Add debugging info to other assertion Date: Sun, 22 Apr 2018 19:32:24 -0700 X-Mailer: git-send-email 2.5.2 In-Reply-To: <20180423023150.GA21533@linux.vnet.ibm.com> References: <20180423023150.GA21533@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18042302-0048-0000-0000-000002618A6E X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008903; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01021888; UDB=6.00521536; IPR=6.00801123; MB=3.00020719; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-23 02:31:20 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042302-0049-0000-0000-000044DF77E0 Message-Id: <1524450747-22778-19-git-send-email-paulmck@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-23_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804230025 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Paul E. McKenney --- kernel/rcu/tree_plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index cdfd39f58368..0dbf813f371b 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -697,7 +697,8 @@ static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp) struct task_struct *t; RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled!!!\n"); - WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp)); + if (WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp))) + dump_blkd_tasks(rnp, 10); if (rcu_preempt_has_tasks(rnp)) { rnp->gp_tasks = rnp->blkd_tasks.next; t = container_of(rnp->gp_tasks, struct task_struct, -- 2.5.2