From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Desnoyers Subject: Re: [PATCH for 4.16 v7 02/11] powerpc: membarrier: Skip memory barrier in switch_mm() Date: Mon, 5 Feb 2018 20:32:08 +0000 (UTC) Message-ID: <1407075321.16343.1517862728006.JavaMail.zimbra@efficios.com> References: <20180129202020.8515-1-mathieu.desnoyers@efficios.com> <20180129202020.8515-3-mathieu.desnoyers@efficios.com> <20180205202242.6ilyjh35byycf3ez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180205202242.6ilyjh35byycf3ez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org 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 List-Id: linux-arch.vger.kernel.org ----- On Feb 5, 2018, at 3:22 PM, Ingo Molnar mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Date: Mon, 5 Feb 2018 20:32:08 +0000 (UTC) From: Mathieu Desnoyers 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 Sender: linux-arch-owner@vger.kernel.org List-ID: 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: <20180205203208.GYh5HozZ0Vus35uLiwsgRAQxTHFLhFDj36QZn8MF6ms@z> ----- 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