FEX icon indicating copy to clipboard operation
FEX copied to clipboard

SMC: Finer grained Mman / Invalidation Locks

Open skmp opened this issue 3 years ago • 0 comments

Follow up from #1842,

We can use much finer grained mman / translation locks, vs the lock the world approach taken there.

  • Use an inverval lock tree
  • Lock based on arguments (eg, mmap w/o MAP_FIXED doesn't need to clear code caches, or mprotect that doesn't affect PROT_EXEC, etc)

skmp avatar Aug 31 '22 09:08 skmp