From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v2 0/3] x86: faster mb()+other barrier.h tweaks Date: Tue, 26 Jan 2016 13:37:38 -0800 Message-ID: <56A7E722.7030701@zytor.com> References: <1452635935-5439-1-git-send-email-mst@redhat.com> <56957D54.5000602@zytor.com> <20160126101921-mutt-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160126101921-mutt-send-email-mst@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: Davidlohr Bueso , Davidlohr Bueso , Peter Zijlstra , the arch/x86 maintainers , linux-kernel@vger.kernel.org, virtualization , Borislav Petkov , Thomas Gleixner , "Paul E. McKenney" , Linus Torvalds , Ingo Molnar List-Id: virtualization@lists.linuxfoundation.org On 01/26/16 00:20, Michael S. Tsirkin wrote: > On Tue, Jan 12, 2016 at 02:25:24PM -0800, H. Peter Anvin wrote: > > Hi hpa, > Any luck getting some feedback on this one? > Yes. What we know so far is that *most* cases it will work, but there are apparently a few corner cases where MFENCE or a full-blown serializing instruction is necessary. We are trying to characterize those corner cases and see if any of them affect the kernel. Even if they are, we can probably make those barriers explicitly different, but we don't want to go ahead with the change until we know where we need to care. -hpa