Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp79158rdd; Wed, 22 Nov 2023 09:51:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVwNAyd9r7n1fTyxpQjqlQRjAsLKyP0L1mWaJAl/Dy9PQqtFl63+vnGm0zz3LSb2X2CQ7Q X-Received: by 2002:a05:6a20:3944:b0:189:c852:562e with SMTP id r4-20020a056a20394400b00189c852562emr3344075pzg.38.1700675497800; Wed, 22 Nov 2023 09:51:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700675497; cv=none; d=google.com; s=arc-20160816; b=w08Bws7iEzPDSNNaSTF1Okp7f5j/ZpzIiPNLscnjxR3AHSLmSs4nwh/f9cplSGL4m+ sARlORClLA1hd4G7xy7vSoCwM1Xbq5CEhK6X1JvOLDZk5I/Fgtf6FT1RPNt7OePVAgRl o2eTU5emUQdwu+NwXowjYXv/lOqWQTkvD4gZmJ7MKtwyn9wTjsltGIAZtgw2UMbDqwD5 4ZHqSuYPxKmphupPJ245I5NHw+1dt5ZwR0mIDQj21cLdioBy2WHbIorHTmK0Vq7mYybi j06WXsTm7EusJ++MTRjzjgZ6wo3qYxIBqR/dwEuN2lv5shm9d9ZJf27m8usxB76aBh2L I9/A== 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=944Y4e21RaB9HA2cqLWsnWZbFjFcU9l0VtpXNUcZliY=; fh=IAgj63W4qZhxVEjNCSOZrqMwg5tgo9sM8ZG3OtJwSxo=; b=IWihlEdUeTJNzA4tti/Z0L9oq8qnPANlWZhOor2wi27Z9P7v7izsO7XD6IMqPe0BHC XnMhs1/zTFg90kYRCBE1nyY1G5nb9CRGa0gy2cHzIGpT7194FHTuftP0mv2YVe+SLeK9 3gT6mZb9ipRx5aV1EkpnDWdIIuBFu55cOA1b/Q567hUFLClfaxI88B5mvTgJcaV97ZBq Ob0BF3ysXe0otNIqfU6/nptCBu5bmgH3LlhdJ6FX+WbvHp6RSHAd4/y3VWjYv/3TyX9R ycmR+RA0vfuT3F9VYoNb8wrds8dxH31t8iC6jDChIeVHCBqtxQpG6S7OT4dN9MocTR6/ LcWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=2g3tr+XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i184-20020a6387c1000000b005b11ce9c97esi12268349pge.353.2023.11.22.09.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 09:51:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=2g3tr+XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id A9C3D82E1E28; Wed, 22 Nov 2023 09:51:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231391AbjKVRvC (ORCPT + 99 others); Wed, 22 Nov 2023 12:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjKVRvA (ORCPT ); Wed, 22 Nov 2023 12:51:00 -0500 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 D8A549A for ; Wed, 22 Nov 2023 09:50:56 -0800 (PST) Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-41ea9c5e83cso5801cf.0 for ; Wed, 22 Nov 2023 09:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1700675456; x=1701280256; 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=944Y4e21RaB9HA2cqLWsnWZbFjFcU9l0VtpXNUcZliY=; b=2g3tr+XRefn0ScANIyCKKLcHKnsVja+8Ab2cIlnbAED+Bdnvu2+yHMJpsGT9UpgAVG Lmr+5IKb4CNbeuEBER7sat/FDCy9eIT4laKtMqbWQp0qgyeL3pzELdMZgD3M+v8/0f0H cn2K68AEzK8f4TIRpdQbHdRsTWvQyDNguiEel/PZjxjUu1zyxEe3/FLoCH+om9XMVeV/ DEIuh1es0C21+YEfG1Qm+Gx4G+0fzncTIPQjKp1/E6o5Ajg46vmDElRHQzc11CNZK+O4 LxY+3uNHmVXbhSmbfJPKq2cz6ew2e13Vaapj4zlwmlTEFjXlnNwUHBD6JCJS1zPZvBQO I3Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700675456; x=1701280256; 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=944Y4e21RaB9HA2cqLWsnWZbFjFcU9l0VtpXNUcZliY=; b=Kc38NtzO2oi9Dww4pgCSXHTpP4PnCv/+ujM1jxK2ERKNu8q/cjatmWvfocVMXYyTqN X7h1FLuLXnYKn5qvfDQ3EL+EzYpKreDnz4Nx8Yk6k5CCy5Wolli4xxcZsmiQNWlDqsC9 TPaOTkkO+XPmw8xpmu8GowqI37BV7fRvDrKEarK0nf64rCztuHxv4kbHGxXZL8vTLKbg D5RdJRtyeEWa6GN0RUYYV9FpAV5BLMbceu4C7olWWU8iClGLxNUsE11UPJericbgL8tJ rZ8Orl3RpSCFwAMQCgaGniuAmZ2/p9GFG/hX9+7U/fxHI4AJrNFbsh67p2/PLhJ33M5Q /TSA== X-Gm-Message-State: AOJu0Yy/cQlynVk9nubsWjpDw9Rp0C4KGG6nTNhH+awGYoG0yuMMSOr+ Aw39TCEyH4wvI4p68zqmJvcEkyp+sdm77nwecAqFfQ== X-Received: by 2002:ac8:5786:0:b0:41c:e345:1da2 with SMTP id v6-20020ac85786000000b0041ce3451da2mr192297qta.11.1700675455817; Wed, 22 Nov 2023 09:50:55 -0800 (PST) MIME-Version: 1.0 References: <20231108171656.3444702-1-jackmanb@google.com> In-Reply-To: <20231108171656.3444702-1-jackmanb@google.com> From: Brendan Jackman Date: Wed, 22 Nov 2023 17:50:43 +0000 Message-ID: Subject: Re: [PATCH v3] x86/entry: Avoid redundant CR3 write on paranoid returns To: luto@kernel.org, tglx@linutronix.de, peterz@infradead.org, dave.hansen@linux.intel.com Cc: mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, laijs@linux.alibaba.com, yosryahmed@google.com, reijiw@google.com, oweisse@google.com 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,T_SCC_BODY_TEXT_LINE, 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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 09:51:20 -0800 (PST) On Wed, 8 Nov 2023 at 17:17, Brendan Jackman wrote: > v2->v3: Clarified the commit message per Dave's suggestion and renamed the > macro. I did not carry PeterZ's ack since I have made some changes. Hi Dave, Thomas, others - any further thoughts on this?