On Thu, 2024-09-12 at 12:54 +0800, Yan Zhao wrote: > "TDX calls tdx_track() in tdx_sept_remove_private_spte() to ensure > private EPT will be flushed on the next TD enter. > No need to call tdx_track() here again even when this callback is > as a result of zapping private EPT. > > Due to the lack of context within this callback function, it cannot > determine which EPT has been affected by zapping. > Just invoke invept() directly here to work for both shared EPT and > private EPT for simplicity." Yes, I think agree this is better.