[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9fe0ef0c41a7ef8afb1d6cca5c1ed63c3e377333.camel@intel.com>
Date: Tue, 20 Jan 2026 08:01:05 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "Zhao, Yan Y" <yan.y.zhao@...el.com>
CC: "kvm@...r.kernel.org" <kvm@...r.kernel.org>, "linux-coco@...ts.linux.dev"
<linux-coco@...ts.linux.dev>, "Li, Xiaoyao" <xiaoyao.li@...el.com>, "Hansen,
Dave" <dave.hansen@...el.com>, "Wu, Binbin" <binbin.wu@...el.com>,
"kas@...nel.org" <kas@...nel.org>, "binbin.wu@...ux.intel.com"
<binbin.wu@...ux.intel.com>, "mingo@...hat.com" <mingo@...hat.com>,
"pbonzini@...hat.com" <pbonzini@...hat.com>, "seanjc@...gle.com"
<seanjc@...gle.com>, "Yamahata, Isaku" <isaku.yamahata@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>, "Annapurve, Vishal"
<vannapurve@...gle.com>, "bp@...en8.de" <bp@...en8.de>, "Edgecombe, Rick P"
<rick.p.edgecombe@...el.com>, "Gao, Chao" <chao.gao@...el.com>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH v4 12/16] x86/virt/tdx: Add helpers to allow for
pre-allocating pages
>
> But in the worst-case conditions, we actually need that many.
>
> In the end, the unused pages in cache will be freed by mmu_free_memory_caches().
>
> > And AFAICT unfortunately there's no way to resolve this, unless we use
> So, I don't think it's a problem.
>
> And I agree with Binbin :)
>
Right. Overcharging is not an issue, on the contrary, we need to make
sure there's enough pages so we really need to consider the worst case.
I am not sure what I was thinking :-)
Powered by blists - more mailing lists