Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2187831rda; Tue, 24 Oct 2023 15:31:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmBXvp+aY8+LmXVi1lnz7bMibUdZdnxmftgkvER8jS6xpl7o2TDPwqm+i5gFXS2xuJBDkj X-Received: by 2002:a17:903:2447:b0:1ca:b8d3:f880 with SMTP id l7-20020a170903244700b001cab8d3f880mr14935988pls.20.1698186714742; Tue, 24 Oct 2023 15:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698186714; cv=none; d=google.com; s=arc-20160816; b=lezwA05CS+l973T5pni7xwz1olxKLC1kRG4i4rEEeKTx0NLaUknUD3xxRLN80LSpr6 yl6f2U3OnYEPtZrLKqlgjNMlUgbXQSzXSxYvBQze0ah5kgOY2WKC7lGMe6UGgHzLngOk omLLKJPLEmodfrIYbh+wNDIhR/al8CIX/4p1lmWAiO2yfoXmxU8DgZX0ORmmPJKdj+9R oBWlt5V9RC1uJ6EIgs/DNRcx0cOHSZjWna9rXpiieVs1yX0PBN7uxIexFGzc1Jkqyk1X tXbHCAyyL6ua8aipRBQFuq7Q8/U9yFczun0ISqcO4uT0t5eAUA85ydMVuskTT89UMP7q 2DPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0xrKrG6QLKZInY7sNS1L6a1MY23Abv3L3T0w5lz/TMA=; fh=c47tVkaeGDwAD1frWI31ct1ahyijz0+vb3k8LhSkCJs=; b=VS+FIiDIefvyik8j9pSj54Cp32bSbxFa+nr5eAgTR08vJgAC/2KodD+dV3qPMR7i0S LBAUKWex6XuP/hHAMUHUHpArBHphsqdZYlLGZV5koSYN+Z8vugp+v5o8j93q14pIuUY5 Gib479l9mV6Itjv87w5ROMWth2GgSdA2hehCkOXqSczKNiqRZdPI9Q6ZNwnFGEfXAbxy 5/rvocZ+aeaZjvRAhdoGoDy8pAPv40orKH7hfqHWC4YCVe+ImKz8s4ljTY6tGkS+woIc y65lUbkndeqTEPYHd5RO3V8T6PJ9rfyDzQkQ1ynjeCa6Bj1kxAAATi6hAYh9t8l+CwnF VdhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="VNspa/Yt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x17-20020a170902ec9100b001c9de56a7d4si9473925plg.398.2023.10.24.15.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 15:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="VNspa/Yt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C280C8026AF8; Tue, 24 Oct 2023 15:31:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344659AbjJXWbu (ORCPT + 99 others); Tue, 24 Oct 2023 18:31:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344668AbjJXWbg (ORCPT ); Tue, 24 Oct 2023 18:31:36 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9524210FF; Tue, 24 Oct 2023 15:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0xrKrG6QLKZInY7sNS1L6a1MY23Abv3L3T0w5lz/TMA=; b=VNspa/YtTP5+n3bl8xr0Vi9mpW aY5dzdce1UF2qLu4fOB6a+NS8h9aviD7kgHLrvrJRwwYz+/ynf2FK/xBXtLrgfUMNvha6Lys9vVnH CgUYX/75kt5d4Wi+9dcrgAidikQg1M0cDP9kMG+tRl1SAsyonyJTGEVdt1lVeN0G8SHu4mNhs1BdT urnbZzaSJFWlZOob24Il0AQdI5BTM1yVyHWxfabm2J/YClX/enU6iX7M+d7DYwuXkcW33EEKF4q4Z KSH8yK2Wp3U8vUbqz4Cqe/mu21CEbwwWUTH+BDkutTyfvqpH+RbSie9cS4o2IRONDl8mxTdEZ0LMd DnGHQGHw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qvPuq-00FpoV-0q; Tue, 24 Oct 2023 22:30:29 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id BBD0E300451; Wed, 25 Oct 2023 00:30:23 +0200 (CEST) Date: Wed, 25 Oct 2023 00:30:23 +0200 From: Peter Zijlstra To: "Luck, Tony" Cc: "H. Peter Anvin" , Pawan Gupta , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , Josh Poimboeuf , "Lutomirski, Andy" , Jonathan Corbet , "Christopherson,, Sean" , Paolo Bonzini , "ak@linux.intel.com" , "tim.c.chen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "kvm@vger.kernel.org" , Alyssa Milburn , Daniel Sneddon , "antonio.gomez.iglesias@linux.intel.com" , "Milburn, Alyssa" Subject: Re: [PATCH v2 1/6] x86/bugs: Add asm helpers for executing VERW Message-ID: <20231024223023.GI33965@noisy.programming.kicks-ass.net> References: <20231024-delay-verw-v2-0-f1881340c807@linux.intel.com> <20231024-delay-verw-v2-1-f1881340c807@linux.intel.com> <20231024103601.GH31411@noisy.programming.kicks-ass.net> <20231024163515.aivo2xfmwmbmlm7z@desk> <20231024163621.GD40044@noisy.programming.kicks-ass.net> <20231024164520.osvqo2dja2xhb7kn@desk> <20231024170248.GE40044@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 15:31:54 -0700 (PDT) On Tue, Oct 24, 2023 at 06:49:07PM +0000, Luck, Tony wrote: > > the only overhead to modules other than load time (including the runtime linking) is that modules can't realistically be mapped using large page entries. > > If there were some significant win for using large pages, couldn't the There is. The 4k TLBs really hurt. Thomas and me ran into that when doing the retbleed call depth crud. Similarly Song ran into it with BPF, they really want eBPF JIT to write to large pages.