Received: by 10.223.176.5 with SMTP id f5csp2933328wra; Mon, 5 Feb 2018 12:33:54 -0800 (PST) X-Google-Smtp-Source: AH8x226AzQDCQ8isOh7Is2iQ6engFIRlmWmdGo/oD/BftlgOoT+Gsnyp/HHHqMTyQ/W17gg7a9eO X-Received: by 10.99.67.133 with SMTP id q127mr25397pga.365.1517862834400; Mon, 05 Feb 2018 12:33:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517862834; cv=none; d=google.com; s=arc-20160816; b=VfUSQ7iwiItnjIzATkbx2LyEweanKY+22Q+e61FyYMlxKcoWJ62we7HLKFefxEodX6 vj/nKh8Kn6urvOsDyk4G0QcDRxLsbThFS5u41cD3RPSoklwvYy7PiXDcWXL4QtiQq3ku SFF3F0c1ItyLNReY9KrZNiAgTJ6BkKscqmKHwAEEYNQVVYpe7BvBD6xNMizIWv5IdJf2 za5dY9uIbZroj/x1Dttxk5qIy2SuMN/Rl+EHjdDCdhJ7N7piR1FFCF26iaLxs1MJR2aI eV/bkbOUzIBuUtS/TBaue7TtonlT0Kz4UJpXXs0BF5An+Hj9yvm0z7UZsZSvGLktGnub Pzog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:arc-authentication-results; bh=FxTg9i5Mww+IEzXxXuhr8q3Pq7fEXsOhYn/eIrzNDPQ=; b=HX3C5euE4kBunqvBkk7rWWt84fEga6j0dwpBVdPfGUJLxYDd9cNH6/1ruWcezzuhv3 WoRjzJVbexFbZ9teiLwONU4uNxhCps1oKoh++Q/f14jbm8r7Jz4VLtMoFTj83if7/SdH fxoVulvt9fh1B5vft6Fhuims8S1EHIriIHUWqKpInQIJ7KC6U1hthLnt6TKmN6+niHw4 +aY0/vvPfV++aau7cTSQG3OqOciKFEUehhBLM4hasd23mJWtaTi1NN7Cb1gRFtWIKFVv awCEO8RI3VLxSVUJt/9M65gSOMd4dbJiw8QrQiAOz4eH1bf4leVCJc+ShuIf3AssWl5f douA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r22si7333719pfh.170.2018.02.05.12.33.40; Mon, 05 Feb 2018 12:33:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbeBEUbb (ORCPT + 99 others); Mon, 5 Feb 2018 15:31:31 -0500 Received: from mail.efficios.com ([167.114.142.141]:57670 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbeBEUbZ (ORCPT ); Mon, 5 Feb 2018 15:31:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id E7FB43401DC; Mon, 5 Feb 2018 20:32:08 +0000 (UTC) Received: from mail.efficios.com ([127.0.0.1]) by localhost (evm-mail-1.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id leav4uinOH76; Mon, 5 Feb 2018 20:32:08 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 4C030340241; Mon, 5 Feb 2018 20:32:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (evm-mail-1.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id guuUjkmH8TXL; Mon, 5 Feb 2018 20:32:08 +0000 (UTC) Received: from evm-mail-1.efficios.com (evm-mail-1.efficios.com [167.114.142.141]) by mail.efficios.com (Postfix) with ESMTP id 262913401DC; Mon, 5 Feb 2018 20:32:08 +0000 (UTC) Date: Mon, 5 Feb 2018 20:32:08 +0000 (UTC) From: Mathieu Desnoyers To: Ingo Molnar Cc: Ingo Molnar , Peter Zijlstra , Thomas Gleixner , linux-kernel , linux-api , Andy Lutomirski , "Paul E. McKenney" , Boqun Feng , Andrew Hunter , maged michael , Avi Kivity , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Dave Watson , "H. Peter Anvin" , Andrea Parri , "Russell King, ARM Linux" , Greg Hackmann , Will Deacon , David Sehr , Linus Torvalds , x86 , Alan Stern , Alexander Viro , Nicholas Piggin , linuxppc-dev , linux-arch Message-ID: <1407075321.16343.1517862728006.JavaMail.zimbra@efficios.com> In-Reply-To: <20180205202242.6ilyjh35byycf3ez@gmail.com> References: <20180129202020.8515-1-mathieu.desnoyers@efficios.com> <20180129202020.8515-3-mathieu.desnoyers@efficios.com> <20180205202242.6ilyjh35byycf3ez@gmail.com> Subject: Re: [PATCH for 4.16 v7 02/11] powerpc: membarrier: Skip memory barrier in switch_mm() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.142.141] X-Mailer: Zimbra 8.7.11_GA_1854 (ZimbraWebClient - FF52 (Linux)/8.7.11_GA_1854) Thread-Topic: powerpc: membarrier: Skip memory barrier in switch_mm() Thread-Index: M1Yhfw492UBZVM0u5ISRDRh93mkzBA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On Feb 5, 2018, at 3:22 PM, Ingo Molnar mingo@kernel.org wrote: > * Mathieu Desnoyers wrote: > >> >> +config ARCH_HAS_MEMBARRIER_HOOKS >> + bool > > Yeah, so I have renamed this to ARCH_HAS_MEMBARRIER_CALLBACKS, and propagated it > through the rest of the patches. "Callback" is the canonical name, and I also > cringe every time I see 'hook'. > > Please let me know if there are any big objections against this minor cleanup. No objection at all, Thanks! Mathieu > > Thanks, > > Ingo -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com