Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3847185ybz; Mon, 20 Apr 2020 10:31:16 -0700 (PDT) X-Google-Smtp-Source: APiQypJTJAA7RnrDLq1PlSRn/nv3iNkGWc+oI1/6z2C4rVidPQEoAIsDnwEMWxLrKy/zW5w5jHZY X-Received: by 2002:a05:6402:1437:: with SMTP id c23mr15367811edx.327.1587403875985; Mon, 20 Apr 2020 10:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587403875; cv=none; d=google.com; s=arc-20160816; b=mkq/42hv21CgqSS+5gh1UnOaDehakPZF6+S5/637+mbRgiw0G3359RGU1oO2gCMVAs zkX4uMn8BA1bjl6HzlTaUtGujGHN38W3CsUti2nFTemnV3MAc0S4BO+s6ipPrFAhLHMA Tl1jiHHcON+XI2a90KMPi5NRcFaULHIAuQAvgvQmLaJIAju9bgRF011gmM8P+0Fo46zf su0UR309zuLZVyftD0oxxHyefNFgMN/dA8zqDpP4faTjL6chL6obn4g+IBM8vNMfG1GC iCaeR5tYDZ5rfEi6jvdCAdqdLyE+oI1resRuKMLIJlsxghCII22AETU/C2Za7MrGCFbk wSqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=u5MPd4m5egasNWdPRbKkHnZ82ZQ+jkbdkiqi0wtcHPI=; b=IFCoeEweya1GYXCMBAdAHmOwaACM7gylxf5/l5Mbohd3XRoRz5DBLSY15tlrGh1Nd8 Nx0ARlKCguoQLbaWcjulML+URSVgzhsvBlcFsyNjXvHI3G0FevlP42N7n6xrJ+AS5voU MNVUZAET54G7D692Moh2VRgRNOij86fM/SGHyX1pj0mnpt0+ttIBv3dcst9I3CGKfVZF GkXx6UnWWEQGJQPr3XjmlCxj1QOIBYTEPPhNMOXUUQgkLd9HhPd4fcN6zs7X9ha/GcPK CITeHbPd89PD6wmnOeTSM4YdrCp5eXIIFV5Alrzm3OzUEmcrbyIia31C4YL84dnt9lee BMKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd18si892694ejb.534.2020.04.20.10.30.51; Mon, 20 Apr 2020 10:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726881AbgDTR1P (ORCPT + 99 others); Mon, 20 Apr 2020 13:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726081AbgDTR1P (ORCPT ); Mon, 20 Apr 2020 13:27:15 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1379DC061A0C for ; Mon, 20 Apr 2020 10:27:15 -0700 (PDT) Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jQaCJ-00035u-5q; Mon, 20 Apr 2020 19:27:07 +0200 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 8C56C101623; Mon, 20 Apr 2020 19:27:06 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig Cc: LKML , x86@kernel.org, Kees Cook , Paolo Bonzini , Thomas Lendacky , Juergen Gross , Boris Ostrovsky Subject: Re: [patch 00/15] x86/tlb: Unexport per-CPU tlbstate In-Reply-To: <20200420092045.GC24518@infradead.org> References: <20200419203137.214111265@linutronix.de> <20200420092045.GC24518@infradead.org> Date: Mon, 20 Apr 2020 19:27:06 +0200 Message-ID: <87sggyax05.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: > Just looking over some exports at the end of the series (and thus > ignoring bisection issues): > > - Is there any good reason to keep __flush_tlb_all inline vs moving it > out of line and kill the flush_tlb_local and flush_tlb_global exports. > Also there is just a single modular users in SVM, I wonder if there is > any way to get rid of that one as well. I'll have a look again. > Also I think cpu_tlbstate itself could be marked static in tlb.c with > a few more changes, I wonder if would be worth it? Unfortunately it can't. We need it in the low level entry code due to PTI and solving that would be a messy surgery. Thanks, tglx