Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751217AbdGaTo2 (ORCPT ); Mon, 31 Jul 2017 15:44:28 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38058 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbdGaTo1 (ORCPT ); Mon, 31 Jul 2017 15:44:27 -0400 Date: Mon, 31 Jul 2017 12:44:24 -0700 From: "Paul E. McKenney" To: Dave Watson Cc: Mathieu Desnoyers , Peter Zijlstra , linux-kernel@vger.kernel.org, Boqun Feng , Andrew Hunter , Maged Michael , gromer@google.com, Avi Kivity , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Subject: Re: [PATCH v4] membarrier: expedited private command Reply-To: paulmck@linux.vnet.ibm.com References: <20170728204040.568-1-mathieu.desnoyers@efficios.com> <20170731192344.GA79955@dhcp-172-20-173-153.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170731192344.GA79955@dhcp-172-20-173-153.dhcp.thefacebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17073119-0036-0000-0000-000002518D06 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007460; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00895658; UDB=6.00447978; IPR=6.00675845; BA=6.00005503; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016469; XFM=3.00000015; UTC=2017-07-31 19:44:25 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17073119-0037-0000-0000-000041488DDC Message-Id: <20170731194424.GO3730@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-31_07:,, 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-1706020000 definitions=main-1707310330 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 15 On Mon, Jul 31, 2017 at 12:23:44PM -0700, Dave Watson wrote: > On 07/28/17 04:40 PM, Mathieu Desnoyers wrote: > > Implement MEMBARRIER_CMD_PRIVATE_EXPEDITED with IPIs using cpumask built > > from all runqueues for which current thread's mm is the same as the > > thread calling sys_membarrier. It executes faster than the non-expedited > > variant (no blocking). It also works on NOHZ_FULL configurations. > > I tested this with our hazard pointer use case on x86_64, and it seems > to work great. We don't currently have any uses needing SHARED. > > Tested-by: Dave Watson Applied, and thank you for testing this! Thanx, Paul