Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2187683rda; Tue, 24 Oct 2023 15:31:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxbQbC9MWwBqh/nhtbO9o4MlrCTsbruJrfog8eSIwmPcK9fV+lIVTkvwbbOeGdvbAbrIZn X-Received: by 2002:a05:6a21:7983:b0:15d:9ee7:1811 with SMTP id bh3-20020a056a21798300b0015d9ee71811mr3092389pzc.36.1698186689862; Tue, 24 Oct 2023 15:31:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698186689; cv=none; d=google.com; s=arc-20160816; b=sZkr5GswvAANhHk0jubk7XB6DYNc6W2PrV6IaV567dI7h9NeI+jF4KMwvr/+y6JiE1 2zikb8gv3o19ctA3hDTi7QiQnCA0KhzF2rh6nblurJRUSXVsvbO8bsj9A+xkciqptUIj RLZUeoSIaZEK5LyTAC2t1s2JHo+lzqQTRPHrqGoswVl4SI3g1V17yItMSfXO/uNK9CtS pj6FE6inpE5vREMV8aE41S2M5PLtSMLjARdMxUHDcq7lQjKV7N4gHBemA/JOA2pV2awD AnVlTuHIrYZM7YEtFhLr/4ccIlflKrGie05wZ94Vu21RXGu/5pfsdRf12CLoFuyTjL0c mMSQ== 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=2y2E9U9ipcgqhNemTPgdJ7dGCY1z+qxFK9VqKODRjRo=; fh=I4KCVO7FushBa03YGDNsSN9e0vUxsAc9AAHGoDK1kbU=; b=kYTjgUQC8KLjBTaONtaHYceWOmJ0xTn0cTgLEIAqJNMMRHiproGI+RUKihJ/ewMoyL mWWBkp8PD35iLN5PuJlodXPPqa+ws0zZoCD9/jME5+BUvj2PUddNYjT+KhRAHQHUb96T m6QoGcJ9n9DUEqJOaIY7IaGZyJFs5rG42llXkOU44HyoYPgcI0K0hW6ofrd5LUGwq2CQ ZggAtOcKe3l3v1MXxcaINtD7fxZxym4UPsji3Aezimj8y+B+5O2QtvG2Vj4ktxgfTiB9 iwtYOr5Oa5el+cX5w/9fgLFU1N7KXSCcECS/0rIv2g4cp8k4OfgiwxM30AoZjX3Jo1wK wBkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=AIVvGuDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id g17-20020a056a000b9100b0068e2b901138si9166020pfj.158.2023.10.24.15.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 15:31:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=AIVvGuDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 56649808206C; Tue, 24 Oct 2023 15:31:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344592AbjJXWbP (ORCPT + 99 others); Tue, 24 Oct 2023 18:31:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344650AbjJXWbE (ORCPT ); Tue, 24 Oct 2023 18:31:04 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 458954215; Tue, 24 Oct 2023 15:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=2y2E9U9ipcgqhNemTPgdJ7dGCY1z+qxFK9VqKODRjRo=; b=AIVvGuDOZDBlSOZMDm37tlTcVB iWdWJIn5mVyXVRVywL4LmGqSiYgqTah0ThEPD5lPkPpfEIS4oEif75HlfBbjsIyTK01VjqEZ7lFLX sx67Gi1Bn09SV/zwnsTVPinsuc29Q5++wXmfgwFrVOg87ED8y15gqxcoh7ZH3i64t9yuZBPIgxp9G /D0Fu8diM9tnsMNJbheKLh/9Uor+QRdDWEOqh0MTJ8m/PycUugwRN0oFtT5lOhKEJvGdJwgy1e9Q2 SBLBGJiHPkLgD3VC5BQOX5U1Tgq4WQ53VlwPFbmrXfbNhLDrITFI8sw61xJQm/XI7q1Sa/9/NEJF6 78f95d8w==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qvPt7-0054rI-LD; Tue, 24 Oct 2023 22:28:37 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 3FBED300451; Wed, 25 Oct 2023 00:28:37 +0200 (CEST) Date: Wed, 25 Oct 2023 00:28:37 +0200 From: Peter Zijlstra To: "H. Peter Anvin" Cc: Pawan Gupta , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Josh Poimboeuf , Andy Lutomirski , Jonathan Corbet , Sean Christopherson , Paolo Bonzini , tony.luck@intel.com, 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, Alyssa Milburn , song@kernel.org Subject: Re: [PATCH v2 1/6] x86/bugs: Add asm helpers for executing VERW Message-ID: <20231024222837.GH33965@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=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Tue, 24 Oct 2023 15:31:27 -0700 (PDT) On Tue, Oct 24, 2023 at 11:27:36AM -0700, H. Peter Anvin 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. Song is working on that. Currently the module allocator is split between all (5 IIRC) different page permissions required, next step is using large page pools for those.