On Tue, Apr 09, 2024 at 06:36:01PM +0800, Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx> wrote: > > + return 1; > > + > > + /* > > + * TDH.VP.ENTRY > > "TDH.VP.ENTRY" -> "TDH.VP.ENTER" > > > checks TD EPOCH which contend with TDH.MEM.TRACK and > > + * vcpu TDH.VP.ENTER. > Do you mean TDH.VP.ENTER on one vcpu can contend with TDH.MEM.TRACK and > TDH.VP.ENTER on another vcpu? Yes. The caller of TDH.MEM.TRACK() must ensure that other vCPUS go through inactive (not running vCPU) after TDH.MEM.TRACK(). -- Isaku Yamahata <isaku.yamahata@xxxxxxxxx>