Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1115485rdh; Fri, 27 Oct 2023 05:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHpGVKNmKciEqP1SbyVOf2hXuDZSP1ODXB+hp81a0wrCV5oC6pRdQOhLvckHFT7YKl/wgdG X-Received: by 2002:a05:6830:14ce:b0:6bd:b5f7:187a with SMTP id t14-20020a05683014ce00b006bdb5f7187amr2585339otq.20.1698409397488; Fri, 27 Oct 2023 05:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698409397; cv=none; d=google.com; s=arc-20160816; b=dy+PRWykQJFKWhcjKkDDM5WSZLn2r0LqTl/gLKaEa9rzAFSY/ZQLhwhiQEOeCl5Wr8 FrffciKBpO6l9o/51BFDKvZfkfrbVmtgFNHfAoTJRgD2qXA9vxwFIPKtmOh9dRYN+yvj LK3pIAiplwxzpGtBM1HNJpNgFNI8LWCFZfRVbhSuX7R7SpfdsESLKxdCPKxMfQHue49Z YytXOVa56b76z60RKA0w6/g8EStA3PW5KYG6Z9YUdQgg35ObY2yNU8RP9RAdt5EVBJED SsDHyRlUtpyWNHeUrlsIGfit26nLv7BsEtVz0FOzPoTDP14sdrJxvWUJWcMBcnh51TwM F3rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iqGvN31QMgS/WE6R9TnV8U7elzS7sYZgvAhoqmNovxw=; fh=ua0oCtplL/HBGuiDqGpZsz201Pe5sPtuLK0VOBzokKU=; b=FzB2LBFBe0ef+fPwvKn1QxZ57ICWtlBdJtNZZQTIkit1l4kgEk3xKDamBwX6a3UOqA 4bXPDp7yCBmUp6ywUsS+6AEkrZSA+jLbNW6Zo68aYpmD6iKWdaSSpKNTCtRQjuOqqn4t gOybOfJb0GdRZmiWu4G9wX8wldQvvkJeJ5SlASfmq5ZjKQMMcBcdOcBxnd1QlYMN8P27 8XYNb54p4jFZnvydnhY9FQrPcVEc+Y+tUsmN/vSWkYUu+NNG1NhvhZWWOeSnNSGDpU7m JpdyR5QbsPMr/MqjxA5oMqwV/U9XvheikAtfe8lEbUTCxX6TZoj5ONsiIKmZyDoFZt3p eNRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="mND/Hp34"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id t199-20020a8183d0000000b005a7b3e505c2si2422881ywf.303.2023.10.27.05.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 05:23:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="mND/Hp34"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 226E283383D1; Fri, 27 Oct 2023 05:23:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbjJ0MXI (ORCPT + 99 others); Fri, 27 Oct 2023 08:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjJ0MXH (ORCPT ); Fri, 27 Oct 2023 08:23:07 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 532AEFA for ; Fri, 27 Oct 2023 05:23:05 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-41cd566d8dfso304631cf.0 for ; Fri, 27 Oct 2023 05:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698409384; x=1699014184; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iqGvN31QMgS/WE6R9TnV8U7elzS7sYZgvAhoqmNovxw=; b=mND/Hp34GOfmiN9zzzO0OT0W0nUFHpan4sL8uD2BFr131jcCmit1StwfLERybrSe41 HhnMWH3cRkJd8j5/LI50NOQpMRJT+bSzS/txZXa+/lo4MXO3iI0926O8alqBqlF/tFtb vjqXTRvwvRhBvhCb2Un5zEhnihPLbRLdI7WloiVV/LwumrKlB6531tTuCfVtsL6yFmc4 pwNOb4T80EJtSM3DpUaVTpDyVWagXD0uGqmoypYvMwAS0YSklFRvg/EyyjXSTaU3Wk34 wmU1IzFbkXHbqYgb2hxTlixg7a1YVA8wNSrXSfitXNbVtSac/RQA6yn95grL0biIhRdX niCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698409384; x=1699014184; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iqGvN31QMgS/WE6R9TnV8U7elzS7sYZgvAhoqmNovxw=; b=aCSMFDn9lUJUk0jZClAXYOOEWoKJEr1LtVAVAllFAAcjRMenerOFghqcQaIMAgIXfY NQIRIkcUpK3SNyd2EbZtR1jMreHX+JoEMYo02+6LKqYe+Ufl3oHOnLLVaODfKvAa1QqM upAP5eQnZ4F+txIo9LE9o2dD1HE2IG+xnfB8T6z3JZ9vQP0/TELpkK5r8cHz1riTsqqK nNhlmE03xni0YA3XPwv9zWuNOlb0Tcjw6lSntSb8Ut+VFfNeMEx7SjGG07SOU31xg7EB T19SdWAsz61LlCqFYT2Ts415n21FBz5i7tH1fA5sEd684g1XlFOQ1uZf480bpAaRk/cs UCaA== X-Gm-Message-State: AOJu0YzmAGlIfXZyaAX72Q8T6E/g9Y1PzPSNTjJrcrs6NS7KV13ppA6b skc3/imbzNIieAJ/dldU9KiTBrQ5fQQH/kZnYJANZ84rydjJC/s0H/o= X-Received: by 2002:a05:622a:7619:b0:41e:3699:388c with SMTP id kg25-20020a05622a761900b0041e3699388cmr247776qtb.2.1698409384311; Fri, 27 Oct 2023 05:23:04 -0700 (PDT) MIME-Version: 1.0 References: <20230920150443.1789000-1-jackmanb@google.com> In-Reply-To: <20230920150443.1789000-1-jackmanb@google.com> From: Brendan Jackman Date: Fri, 27 Oct 2023 14:22:53 +0200 Message-ID: Subject: Re: [PATCH v2] x86/entry: Avoid redundant CR3 write on paranoid returns To: luto@kernel.org, tglx@linutronix.de Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, laijs@linux.alibaba.com, yosryahmed@google.com, reijiw@google.com, oweisse@google.com, peterz@infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 05:23:14 -0700 (PDT) Hi Thomas, others, any thoughts on this one?