Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp304428ybi; Thu, 1 Aug 2019 19:28:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9NZoq1bBzF94DeGfNUZ/0RQsjMDLjOZmB/27lBlXlRPgK0/DxHRoZCW+kWGJfaEL4/amH X-Received: by 2002:ac8:2379:: with SMTP id b54mr94698725qtb.168.1564712894929; Thu, 01 Aug 2019 19:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564712894; cv=none; d=google.com; s=arc-20160816; b=pYBpBqUt7F0Ovb8SgoicvxSQp4CfI0+iSUA+m0xWesf8XpIvgywVsGjHCYMyYiZgV6 YnzJDUJhEtRWKXCjF39v9Gt2zZ/klcfjhi9CBxcE+hBA36fUhCNWEdP7dGXvTKrJ0hbC wOExRQ64blJ6p7I+NOqEJLVqzYwK2mpZ032E55eqlfFvBSplkbouoeCr1Wm1QLIX88JD QZuGtaP1mIwUwRYENyBjxCz7MnDenrjTuz9yV7FGMZTAGheBrBlW3Zhei8AeOMM/BbU6 eXEE2iqs9S1azGzFMvL1UNMb/sgSuyKp33KwHb/ECL0aSdAMi1FyrVc4Mg9vUUvo8htt HuMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=kuK/SRgFtMO+MAeGMvL42Y20ClOJwfErgd6AI8m3zL8=; b=VdBGZZXSrU9f/6/KJZd3vTe/k+bRZ5Zd52xBb40ZQSx4UgE6C5eRLkhdO7+ll7ZXdn lD/AENT8octYjkC9vIurBbzUq+ebsnqyvArIBrp4Buym+PBakr9QG8lB6kCef5SdeHdU hB/ciXZMtCiZH9cY+Ny6dmQR/jHHMywki5v4uHH1+CahMs0FZW5NNDzEDm5aio7wYnMY XFFaylBiBmmKu0UZyC7lXVUFX809emAxoWiXmRJCK9IPNoIySFtQ80hWNNGVbBhJrga6 /WuZa18Y/KMRs8O3kYEJuA+KP1/xSBJLQLtOeysWchUQpFDSRCsshGYE0lYTyerbdcgm WHxQ== 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 k20si38798091qkg.317.2019.08.01.19.28.01; Thu, 01 Aug 2019 19:28:14 -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 S2390127AbfHAWvK (ORCPT + 99 others); Thu, 1 Aug 2019 18:51:10 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:11358 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730457AbfHAWvI (ORCPT ); Thu, 1 Aug 2019 18:51:08 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x71Ml9an103235; Thu, 1 Aug 2019 18:50:31 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 2u47v12n8u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2019 18:50:31 -0400 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x71MlGqp103478; Thu, 1 Aug 2019 18:50:30 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 2u47v12n89-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2019 18:50:30 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x71MnYOP032345; Thu, 1 Aug 2019 22:50:29 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma04dal.us.ibm.com with ESMTP id 2u0e8799va-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2019 22:50:29 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x71MoSEk47972730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Aug 2019 22:50:28 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 82B90B2073; Thu, 1 Aug 2019 22:50:28 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6214FB2078; Thu, 1 Aug 2019 22:50:28 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.154]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 1 Aug 2019 22:50:28 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id BE80016C0E4B; Thu, 1 Aug 2019 15:50:29 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, 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@joelfernandes.org, "Paul E. McKenney" Subject: [PATCH tip/core/rcu 04/11] rcu/nocb: Rename nocb_follower_wait() to nocb_cb_wait() Date: Thu, 1 Aug 2019 15:50:21 -0700 Message-Id: <20190801225028.18225-4-paulmck@linux.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190801225009.GA17155@linux.ibm.com> References: <20190801225009.GA17155@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-01_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=15 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908010240 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adjusts naming to account for the new distinction between callback and grace-period no-CBs kthreads. Signed-off-by: Paul E. McKenney --- kernel/rcu/tree_plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index c3b6493313ab..9d5448217bbc 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -1889,7 +1889,7 @@ static int rcu_nocb_gp_kthread(void *arg) * This function returns true ("keep waiting") until callbacks appear and * then false ("stop waiting") when callbacks finally do appear. */ -static bool nocb_follower_wait(struct rcu_data *rdp) +static bool nocb_cb_wait(struct rcu_data *rdp) { trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("FollowerSleep")); swait_event_interruptible_exclusive(rdp->nocb_cb_wq, @@ -1922,7 +1922,7 @@ static int rcu_nocb_cb_kthread(void *arg) /* Each pass through this loop invokes one batch of callbacks */ for (;;) { /* Wait for callbacks. */ - while (nocb_follower_wait(rdp)) + while (nocb_cb_wait(rdp)) continue; /* Pull the ready-to-invoke callbacks onto local list. */ -- 2.17.1