From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH] x86 idle: repair large-server 50-watt idle-power regression Date: Thu, 19 Dec 2013 22:17:01 +0100 Message-ID: <20131219211701.GB3464@gmail.com> References: <52B316FF.50906@zytor.com> <20131219160210.GA28426@gmail.com> <52B31B21.6010901@zytor.com> <20131219162136.GM16438@laptop.programming.kicks-ass.net> <52B323BE.7090108@zytor.com> <20131219170741.GB30382@gmail.com> <20131219172535.GN16438@laptop.programming.kicks-ass.net> <20131219175037.GK2480@laptop.programming.kicks-ass.net> <20131219181812.GC32508@gmail.com> <44cc7c3a-7114-4f37-a844-77e552dbc7aa@email.android.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <44cc7c3a-7114-4f37-a844-77e552dbc7aa@email.android.com> Sender: stable-owner@vger.kernel.org To: "H. Peter Anvin" Cc: Peter Zijlstra , Len Brown , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown , stable@vger.kernel.org, Linus Torvalds , Thomas Gleixner , Mike Galbraith , Borislav Petkov List-Id: linux-pm@vger.kernel.org * H. Peter Anvin wrote: > CLFLUSH is only (guaranteed to be) ordered with respect to MFENCE > according to the SDM. Yes, I quoted the relevant text a couple of hours ago, CLFLUSH is pretty special, so it's not ordered against atomics or serializing instructions for example - only ordered against explict MFENCE calls, which on x86 is mb()/smp_mb(). Thanks, Ingo