From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753016AbdLEOJf (ORCPT ); Tue, 5 Dec 2017 09:09:35 -0500 Received: from merlin.infradead.org ([205.233.59.134]:33628 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752812AbdLEOJb (ORCPT ); Tue, 5 Dec 2017 09:09:31 -0500 Date: Tue, 5 Dec 2017 15:08:50 +0100 From: Peter Zijlstra To: Dave Hansen Cc: Andy Lutomirski , Thomas Gleixner , LKML , X86 ML , Linus Torvalds , Borislav Petkov , Greg KH , Kees Cook , Hugh Dickins , Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Rik van Riel , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , Daniel Gruss , Dave Hansen Subject: Re: [patch 55/60] x86/mm: Use INVPCID for __native_flush_tlb_single() Message-ID: <20171205140850.6dx4i3bwdtrnytoy@hirez.programming.kicks-ass.net> References: <20171204140706.296109558@linutronix.de> <20171204150609.338279526@linutronix.de> <20171204225144.GD20227@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 05, 2017 at 05:51:28AM -0800, Dave Hansen wrote: > On 12/04/2017 02:51 PM, Peter Zijlstra wrote: > > We should find some of the benchmarks that were used to determine > > tlb_single_page_flush_ceiling and measure. I've not gotten around to > > doing either. > > > > Someone called Dave Hansen did that patch and might still have something > > lying around to help with that: > > > > a5102476a24b ("x86/mm: Set TLB flush tunable to sane value (33)") > > I hate git. :) :-) > But, yeah, we have certainly changed enough variables to necessitate > measuring it again. Its more than that, I think much of that could show if it makes sense to use invpcid_flush_one() at all.