From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH] x86 idle: repair large-server 50-watt idle-power regression Date: Thu, 19 Dec 2013 20:27:14 +0100 Message-ID: <20131219192714.GP16438@laptop.programming.kicks-ass.net> References: <20131219122257.GC11279@gmail.com> <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> <52B33640.3020204@zytor.com> <20131219181948.GD32508@gmail.com> <52B34759.3010009@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <52B34759.3010009@zytor.com> Sender: stable-owner@vger.kernel.org To: "H. Peter Anvin" Cc: Ingo Molnar , 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 On Thu, Dec 19, 2013 at 11:22:01AM -0800, H. Peter Anvin wrote: > On 12/19/2013 10:19 AM, Ingo Molnar wrote: > > > > ( It would also be nice to know whether MONITOR loads that cacheline > > into the CPUs cache, and in what state it loads it. ) > > > > I would assume that is implementation-dependent. However, one plausible > implementation is to load the cache line into the cache in shared state > and monitor for evictions. I suppose the monitor part is the important part because certain C states drop all cache, presumably including the cacheline we're actually monitoring.