From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 9FDFF36164E for ; Fri, 13 Feb 2026 15:09:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770995371; cv=none; b=aU4Jn4MlIJACOp2kFRtLrw6yn6y2/nV/URFXPXe/9hVlSrgbmHfPCkJD6bZ0LpAgbFejje+Qm9ZVoBiR8ajyX62MhYg7WKMgvabxvRFvUI6nIVGw2yGU5bAjszY51ebYNHZ6F0Yt0jwPwYxxy2FhCyDwWn9FyLnmcyEL1OS2m78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770995371; c=relaxed/simple; bh=leQAZ/VqItxILR/20qgaUrb5R3I3Mtb4M7v8QRSUzh8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=oMavTzKSaWJXeNWMuSnAKYha75Mvs+JUeC4ULCaVH3Nqv35syNHNqkkV2n67ccCS46y+2CnlMgdC341OZnO5hPEy8TbEjPwVmpMtoeXkMgvwJFXjcjAq/4gKg11ch0LGu4xjZrDkaGt9x1xrrtIh0nTwzpgBpv6KwDl4NA97nIs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=kktNZnYp; arc=none smtp.client-ip=209.85.214.202 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=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kktNZnYp" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2a784b2234dso44772055ad.1 for ; Fri, 13 Feb 2026 07:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770995370; x=1771600170; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=DmPok8TVljD6OBh3x850TFLE5gpc1T2JrYmL8CImN54=; b=kktNZnYp+vZ/BpibKW54e9lubhvXW6CvvnVXkRZQa6NqV4jLI+5XayFUIGmjLl9kcX 8YrT9N66be2VYBDt67kgg0X+4aykxoWHx2p7kiOKwpnYlEUJjyUlh8o/mPERKRakO9VK jm7MzjIdqKowB2RJIYZLXF0UAXVZQxsQzkNafFP0elHmGYDE4Xe8hPREF8TML50bHjNI MmDH3GVM8+SH49araG0jQUMxvxqo+y2QpfcSsLWMOVqakckVfvNd5Z4ppsIRlJGuQoN1 kJaXPIKmH6jG5Znfrn9CSC1aQMgApVQ+gKLEwZruMLYS0oFE31WKzCQljJfRsj2J7+pp djog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770995370; x=1771600170; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DmPok8TVljD6OBh3x850TFLE5gpc1T2JrYmL8CImN54=; b=BsSBO3yS8neDfWz7sXtrxmIMaCKgZJfKJkNcorixguci+5inpiIiqMerP2K7dguzRM rdjIe265z3pfrM/D4vRzdIwxPa6co/sS8f4jsGLwnes7aoihaMlZaQEuSwrcd6f3O9IT G3gXPSYI1dn+N82CCvIqL6JpP7+AgcKd12FaVdq84iUABW1k4guTVyLfhUFfpfYDA6gb X9iWsQ5ZNcVrcYoM+ulfRI5U+ULsD+hnBWcaqcIMmKjIzUqe3xrHEsBvT/JJpKeXJmi/ a0q59uwYUyiTU4Jb34U+nf/1eLvgHIypti/GbuXiwQt4vxwDU9ow5oSMumLUR3JBHEm/ qz+A== X-Forwarded-Encrypted: i=1; AJvYcCWP7YIJ+WPCtN2tEYT0tS7zynVZ9gTmdHj4XTKyvE0T4koO99a9MERdPP4w+3WXPVi4J7GEhZ9j4LZ3uiU=@vger.kernel.org X-Gm-Message-State: AOJu0YwJex8XBop/46QtcH77EwFkvbhkL7L0vYC8lyT+zRpLa2JO1gtT pzPMm6Gl+OZGxYhrsBB0b2CCu2ez36guO2pI6RsmxFQ0ccManJFCfalhRLqbG7wQm/rZTFwfXd9 1nT9HxA== X-Received: from pldb1.prod.google.com ([2002:a17:902:ed01:b0:2aa:d80d:395d]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:e787:b0:2aa:d11d:5c36 with SMTP id d9443c01a7336-2ab50598a38mr23517555ad.30.1770995369706; Fri, 13 Feb 2026 07:09:29 -0800 (PST) Date: Fri, 13 Feb 2026 07:09:27 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260129011517.3545883-1-seanjc@google.com> <20260129011517.3545883-45-seanjc@google.com> Message-ID: Subject: Re: [RFC PATCH v5 44/45] KVM: x86/mmu: Add support for splitting S-EPT hugepages on conversion From: Sean Christopherson To: Yan Zhao Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Kiryl Shutsemau , Paolo Bonzini , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, kvm@vger.kernel.org, Kai Huang , Rick Edgecombe , Vishal Annapurve , Ackerley Tng , Sagi Shahar , Binbin Wu , Xiaoyao Li , Isaku Yamahata Content-Type: text/plain; charset="us-ascii" On Wed, Feb 11, 2026, Yan Zhao wrote: > However, I have a question about kvm_tdp_mmu_try_split_huge_pages(), which is > called by dirty page tracking related functions. I'm not sure if we might want > to invoke them from a non-vCPU thread for mirror roots in the future. If that's > the case, would they need some way to acquire this lock? More than likely, yes. But that's a far future problem, at least as far as upstream is concerned. I.e. I don't want to plan _that_ far ahead in terms of writing code to avoid churn.