On 5/15/25 02:17, Kirill A. Shutemov wrote: > I don't think we can justify any batching here. The is one primary goal here: Reduce TDX overhead when not running TDX guests. It has the side-effect of being _able_ to reduce the amount of memory that TDX guests use when using >=2M pages only. It has the theoretical capability to do the same for 4k users but only when the pages are quite contiguous. Right? The "not running TDX guest" and ">=2M pages" benefits are relatively easy. The 4k one is hard and is going to take a lot more work. Could we please focus on the easy one for now and not get distracted by the hard one that might not even be worth it in the end?