home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,803 of 4,255   
   Dan Cross to cr88192@gmail.com   
   Re: x86-S   
   23 May 23 16:22:28   
   
   From: cross@spitfire.i.gajendra.net   
      
   In article , BGB   wrote:   
   >On 5/22/2023 3:10 PM, Dan Cross wrote:   
   >[snip]   
   >> L2PT's like the EPT and NPT are wins here; even in the nested   
   >> VM case, where we have to resort to shadow paging techniques, we   
   >> can handle L2 page faults in the top-level hypervisor.   
   >>   
   >   
   >But, if one uses SW TLB, then NPT (as a concept) has no reason to need   
   >to exist...   
      
   Yes, at great expense.   
      
   >> There's a reason soft-TLBs have basically disappeared.  :-)   
   >   
   >Probably depends some on how the software-managed TLB is implemented.   
      
   Not really; the design issues and the impact are both   
   well-known.  Think through how a nested guest (note, not a   
   nested page table, but a recursive instance of a hypervisor)   
   would be handled.   
      
   >In my case, TLB miss triggers an interrupt, and there is an "LDTLB"   
   >instruction which basically means "Take the TLBE from these two   
   >registers and shove it into the TLB at the appropriate place".   
      
   That's pretty much the way they all work, yes.   
      
   	- Dan C.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca