Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp196633lqc; Thu, 7 Mar 2024 14:45:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVbJyLfD2K2rPLCJ0dFT2pVP0mfa2O6IeBpbDc0rpfmMiw8/iON8I9ozMKv0E/UIvaYLFmGGOnvH336ckpFWsGBExztx414f3tr0de46g== X-Google-Smtp-Source: AGHT+IGMfyZnGmLR4oupVucd7ml/MKzR7vrRF+iF3eVFPe2za5HQQmD9q4uqldCek6N06+k3tSjz X-Received: by 2002:ac2:5928:0:b0:513:685a:8696 with SMTP id v8-20020ac25928000000b00513685a8696mr2195723lfi.10.1709851521882; Thu, 07 Mar 2024 14:45:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709851521; cv=pass; d=google.com; s=arc-20160816; b=dVdfZVLAmW7JiPPpJmXnw1sEMTlLqLMoqFo0HOMmzXIVrEz3k6Hc9aa59j0HaC+CjM Zkkl7eqb4NxY5d8SoocErG0JUW2EnBUgGvXnWT4+N+kzIwsc7oUnZwItNL9sd09p5pon bWxzTXqudPGPHdK1ODVYcq/P0LNVQHwwcn/K99UJIUY2Xzy8F97SN0Mf3Ce3SmkxVfbP 1jePgEQUGYDeh6FKkwJmiz25taja5O97SnnG31MoyREijGl/iu+1hwgm5A0UGXvrFZLe 1av5WlSpnpuT4xvPiwnSb+ZHaAIgdrAy5w5eu2n3aSOOUW7+O3O5BSGhIngPpOA4WRgd LlJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ypj7AYqbc7IToRNdpZemEdAP5+WqsSoaed+deKjFkpQ=; fh=gzB95oV4FBBuqX+fdCCWYIzFirmExTC4iT1paCBdTrg=; b=MPWgnBW4/WzZQSAWZ0Y3s+gWhilq40G4D6JM3SDZKTff7C6FqnC0xC76g1sXU8BVkU Alf0husENM86Omp4hP0WZXF6rEZKoeZodIB0pzEdhOodw8Tf7zPQDz55uNZZnyM/8Auj 4NDE0F5HN239LjvXdjq/gstMNihi/ln8slNkA0L9eRuYY8R+eLVg6u6B8wGvYVYKlAOn vGPx2IEeKPzmWX/P4eWXZCevrK76FXZxNlLTJ7TzpBO7APFLfmEunhuwoPlC4EM7nBau Zp2gmSRCWdumu6NWgK3pplrkGNAnICLm9kvv+Bz2wfSIDBGVyBoXYGYLUdhGahA5wjw2 2AsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=hKi2xFZT; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-96339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jr2-20020a170906a98200b00a43db629442si7332171ejb.544.2024.03.07.14.45.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 14:45:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=hKi2xFZT; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-96339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 981CB1F23380 for ; Thu, 7 Mar 2024 22:45:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B2633C099; Thu, 7 Mar 2024 22:45:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hKi2xFZT" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37CE9335D8 for ; Thu, 7 Mar 2024 22:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709851513; cv=none; b=bsjAsiZawzWCMAdmERywZlc2W2jLGY7HNRWvN43n7U5AjMlofcS4aGPocVa4pNEkAjFbMHzlnr6Vyd1DJi+k7QTL6BeJ+iZETN6Su/dY5SZV3uZ2Gz3fdIsWBajszDl6QnkvevHguMPJm0k00O6kMcXWaKSrVHqFwtn//T34+KY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709851513; c=relaxed/simple; bh=ypj7AYqbc7IToRNdpZemEdAP5+WqsSoaed+deKjFkpQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OuW/Xl41mGqgn2EdFDoYqnDYjvP4QbAdoHnDYYIK/D+gwGE1AQpNRHQtfkro5hslrZDozmCh+/UrFhcFdVBj21ze6W+Vg3KKNLGFbceoV42nqINV6w6Dr0e6TgusNHlxbYp5FXBFKrL7ybzqoEuyEXFh5yKZ3Yv6mLDh2WErFNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hKi2xFZT; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a4499ef8b5aso31859366b.0 for ; Thu, 07 Mar 2024 14:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709851510; x=1710456310; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ypj7AYqbc7IToRNdpZemEdAP5+WqsSoaed+deKjFkpQ=; b=hKi2xFZT2e04mHZTM9NdRWZxns+PfUCJFCDefYsISyq9Lq9D8/Z2+4a5E6VlY7jSCS rYWtW0qgc47yNueBSBO90C4sPg1a9hKCv+i0fwyk7i9GwaPYgiVjgyG1ndU8aFpGhTt8 ruDneyWZD3wOhcZgYSXsZwz+PBQRLcSCloDVnC/STqfYvD5JRo7b/bBiSQHpPU15gjhO R7+o56AJC0IsopNg2coIaSRjQ26rMypV8RKidtxM+YLx52+MAnnqtObHBUiH10xBwmEo 1NOHJnoYjjnAvB9D6UuRGThs+KNajERNKrKhciAOLpv+HpItI06nmwdthTB8D8N23UHi IrVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709851510; x=1710456310; h=content-transfer-encoding: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=ypj7AYqbc7IToRNdpZemEdAP5+WqsSoaed+deKjFkpQ=; b=uMJYuJDI8XKUT7Kj576HsDUD0OYzYZYG+DijZ8PlpNOBtAXh86HXbc6p2OaRBG2IUt cEK83UZsvlNGn1DUA4pFIBV+B3O9VEm2c2za/0eKzLkk2WnQv8Zd+yrCPO+r4pEgzIQ1 QBrDXk4oe11dqlrtSYu1O7K626GfwpQery898Y0mLGhwmzrmyPENC2wXjf4VkVw6y+nO Jb7rOGlJYnrj2b5v3W/AWScc4ZWfIrg9AcOo2h015DPVixf2D8SiPH/sneICZXOKN0ty kiBW9kOo8iZIliM29OSg0o9AUZGIsY3kwELqeso3AeaPgy6IJZN6o0nglftPcNCB3YhZ B1Sw== X-Forwarded-Encrypted: i=1; AJvYcCWdTx+vmVbYaywm0tpYN4PL9DNFYmIFh4vz3dR6CImqSszZyL7iVtkIhuRg9Z4koSQ/8TZjiPN/+ClXpN7Z9gT49JqWhf+RtXKtD1La X-Gm-Message-State: AOJu0YxfkVizXyraWgShNk1v2RlNZ+BiMzbFv5vrphYgJzloh403eNhr CLaj1t17X31vEmXmNLtrbtOzN0XdTXTQlArNupOUAd52nDn5D8+BYAwUsA9TUiIbODpStAOdoed l22zqW/nnoiAmMAEYYSZwJD6dfghEELcBZeGh X-Received: by 2002:a17:906:b888:b0:a45:2a53:d6b9 with SMTP id hb8-20020a170906b88800b00a452a53d6b9mr9674520ejb.62.1709851510270; Thu, 07 Mar 2024 14:45:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240307133916.3782068-1-yosryahmed@google.com> <20240307133916.3782068-3-yosryahmed@google.com> <83b019e2-1b84-491a-b0b9-beb02e45d80c@intel.com> In-Reply-To: From: Yosry Ahmed Date: Thu, 7 Mar 2024 14:44:33 -0800 Message-ID: Subject: Re: [RFC PATCH 2/3] x86/mm: make sure LAM is up-to-date during context switching To: Dave Hansen Cc: Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , "Kirill A. Shutemov" , x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 7, 2024 at 2:41=E2=80=AFPM Dave Hansen = wrote: > > On 3/7/24 14:29, Yosry Ahmed wrote: > > Just my 2c, let me know what you prefer =F0=9F=99=82 > > I'll let Andy weigh in here, but I think I kinda already mentioned at > least twice what I prefer. :) Well I was hoping my last email changed your mind, but obviously not :)