Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4290900imu; Mon, 12 Nov 2018 08:39:46 -0800 (PST) X-Google-Smtp-Source: AJdET5c3W+TkGbzNr/PDqAZts2BEVoh95T2W058GeRQbX3YHsTzWovifx+ivEq//ugoL6bHY9bRH X-Received: by 2002:a62:6143:: with SMTP id v64-v6mr1579905pfb.125.1542040786892; Mon, 12 Nov 2018 08:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542040786; cv=none; d=google.com; s=arc-20160816; b=hJD66N1wvS7glPRw+j8Je07N3K2SgWAefKPz0eqc86XRc+v8OiPTBedGbgaxdS0M4Y z//nNTAT0G30w+qRsc2mNkL8JdFstd+q4ap0ktd+27tFVnC+doIRiSELdGXt0EAIOQBM W8Y2JuiZZSSmqd59Y4PXHkDNmva7hf9fwOx5r1YsrRT6HqSPWFw7y0OHP0VxNwpbAbqQ l/5NRzPUHQSXqiHdFa0v/BxR1GTRpknzI/AqNwJgRcY2XKgQp7ArhizXybJ7z5aY715s ksPbkDruqx+59upXDVDnecROXTOK9KtUdaBRPiz8+FbGgnu4ohCLYYg4l3GJvzHYm6/8 8trg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date; bh=Yo2mw13Ozq7F0kxUhHg0xkCPTSz/tqyHcFa4BYNc4Yc=; b=zyBAXZgd88qJo5CEinAKOQb7p/mx16+0SHUurRQorn+cjD9YT4HdulCbcHvUS/yByK 2/bYMx/He0448QD5/BDajdLpvB4nnrc3mW4lawfL/DDkasdWKrQkjFKHbIzMLPhgORye QEze28l0EYU5uRCrz14uMuS38oVHx1FqECsge0b03RRqxsODLbaE06LrDQ9WEAwUhsKF v7NYCM0aZGsZIX+s4WwAqqr4P4oTIRndCdxdibJTQ9AVeo2SvrVmtSyv7Q47lvzWPlgE bL5N/rvkUU3IDKtlMJqdrLxKUsIZ4eR1hV2QTBkm8Knj4+9Dk0kgb5DYSXFixzB3ey3a WjfA== 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 n23-v6si16881995pgb.330.2018.11.12.08.39.25; Mon, 12 Nov 2018 08:39:46 -0800 (PST) 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 S1729730AbeKMCc4 (ORCPT + 99 others); Mon, 12 Nov 2018 21:32:56 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51080 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbeKMCcz (ORCPT ); Mon, 12 Nov 2018 21:32:55 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wACGYtrl102275 for ; Mon, 12 Nov 2018 11:38:55 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2nqcgkjepk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 12 Nov 2018 11:38:54 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 12 Nov 2018 16:38:53 -0000 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 12 Nov 2018 16:38:47 -0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wACGck2225886750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Nov 2018 16:38:47 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 29FBFB2065; Mon, 12 Nov 2018 16:38:46 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0607EB2064; Mon, 12 Nov 2018 16:38:45 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.198.12]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 12 Nov 2018 16:38:45 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id CC95F16C3418; Mon, 12 Nov 2018 08:28:54 -0800 (PST) Date: Mon, 12 Nov 2018 08:28:54 -0800 From: "Paul E. McKenney" To: Corey Minyard 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, Arnd Bergmann , Greg Kroah-Hartman , openipmi-developer@lists.sourceforge.net Subject: Re: [PATCH tip/core/rcu 10/41] drivers/ipmi: Replace synchronize_sched() with synchronize_rcu() Reply-To: paulmck@linux.ibm.com References: <20181111194104.GA4787@linux.ibm.com> <20181111194410.6368-10-paulmck@linux.ibm.com> <16c19493-44b0-18e3-d3cb-4d6c2f9f9f53@acm.org> <20181112160425.GJ4170@linux.ibm.com> <465ebdbb-188c-c4b8-935b-58205b9f98e5@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <465ebdbb-188c-c4b8-935b-58205b9f98e5@acm.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18111216-0064-0000-0000-00000372B684 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010035; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000270; SDB=6.01116429; UDB=6.00577118; IPR=6.00896537; MB=3.00024128; MTD=3.00000008; XFM=3.00000015; UTC=2018-11-12 16:38:52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18111216-0065-0000-0000-00003B4F9BB0 Message-Id: <20181112162854.GK4170@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-12_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 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-1807170000 definitions=main-1811120145 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 10:15:41AM -0600, Corey Minyard wrote: > On 11/12/18 10:04 AM, Paul E. McKenney wrote: > >On Mon, Nov 12, 2018 at 09:38:55AM -0600, Corey Minyard wrote: > >>On 11/11/18 1:43 PM, Paul E. McKenney wrote: > >>>Now that synchronize_rcu() waits for preempt-disable regions of code > >>>as well as RCU read-side critical sections, synchronize_sched() can be > >>>replaced by synchronize_rcu(). This commit therefore makes this change. > >>Assuming the above is true, this looks fine to me. > >> > >>Acked-by: Corey MInyard > > Dang, that's > > Acked-by: Corey Minyard Just in time, applied, thank you! ;-) > >Thank you! > > > >>Or I can take it in my tree, either way. > >I will carry it unless/until I send it upstream (this coming merge > >window) or I see it already upstream. > > > >So your choice. ;-) > > Ok, if you don't mind, you can carry it. Sounds good! Thanx, Paul > Thanks, > > -corey > > > > Thanx, Paul > > > >>-corey > >> > >> > >>>Signed-off-by: Paul E. McKenney > >>>Cc: Corey Minyard > >>>Cc: Arnd Bergmann > >>>Cc: Greg Kroah-Hartman > >>>Cc: > >>>--- > >>> drivers/char/ipmi/ipmi_si_intf.c | 2 +- > >>> 1 file changed, 1 insertion(+), 1 deletion(-) > >>> > >>>diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c > >>>index 677618e6f1f7..dc8603d34320 100644 > >>>--- a/drivers/char/ipmi/ipmi_si_intf.c > >>>+++ b/drivers/char/ipmi/ipmi_si_intf.c > >>>@@ -2187,7 +2187,7 @@ static void shutdown_smi(void *send_info) > >>> * handlers might have been running before we freed the > >>> * interrupt. > >>> */ > >>>- synchronize_sched(); > >>>+ synchronize_rcu(); > >>> /* > >>> * Timeouts are stopped, now make sure the interrupts are off > >> >