Skip to content

Commit

Permalink
Update supervisor.adoc (#1382)
Browse files Browse the repository at this point in the history
#1370

Signed-off-by: Kersten Richter <[email protected]>
  • Loading branch information
kersten1 authored May 4, 2024
1 parent 0902ff2 commit 87edab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/supervisor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2186,14 +2186,14 @@ the trap handler commonly employs an `SRET` instruction to return from the trap.
When Svvptc is implemented, the stores it executes to change the Valid bit
of the PTEs from 0 to 1 then become visible to implicit references to those PTEs
within a bounded timeframe. This visibility pertains to the instructions like
the one causing the page-fault or those accessing new memory regions. A
the one causing the page fault or those accessing new memory regions. A
memory-management fence can be used to force immediate visibility of these PTE
updates to all implicit references associated with instructions following the
memory-management fence. However, when Svvptc is implemented, visibility (in a
bounded amount of time) is guaranteed and use of a memory-management fence is
not required in these scenarios. While this approach might lead to an occasional
gratuitous page-fault, the performance benefit of omitting the memory-management
fence instructions outweighs the occasional cost of a gratuitous page-fault.
fence instructions outweighs the occasional cost of a gratuitous page fault.
====

////
Expand Down

0 comments on commit 87edab7

Please sign in to comment.