Skip to content

Commit

Permalink
Merge pull request #17 from ved-rivos/tsc_update1
Browse files Browse the repository at this point in the history
add hart to qualify caches
  • Loading branch information
ved-rivos authored May 23, 2024
2 parents 74afae6 + 0b258d5 commit 50aba24
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions svvptc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ accesses by that hart to such PTEs.
====
Svvptc relieves an operating system from executing certain memory-management
instructions, such as `SFENCE.VMA` or `SINVAL.VMA`, which would normally be used
to synchronize the address-translation caches when a memory-resident PTE is
changed from Invalid to Valid. Synchronizing the address-translation caches with
other forms of updates to a memory-resident PTE, including when a PTE is changed
from Valid to Invalid, requires the use of suitable memory-management
instructions. Svvptc guarantees that a change to a PTE from Invalid to Valid is
made visible within a bounded time, thereby making the execution of these
memory-management instructions redundant. The performance benefit of eliding
these instructions outweighs the cost of an occasional gratuitous additional
page fault that may occur.
to synchronize the harts address-translation caches when a memory-resident PTE
is changed from Invalid to Valid. Synchronizing the harts address-translation
caches with other forms of updates to a memory-resident PTE, including when a
PTE is changed from Valid to Invalid, requires the use of suitable
memory-management instructions. Svvptc guarantees that a change to a PTE from
Invalid to Valid is made visible within a bounded time, thereby making the
execution of these memory-management instructions redundant. The performance
benefit of eliding these instructions outweighs the cost of an occasional
gratuitous additional page fault that may occur.
Depending on the microarchitecture, some possible ways to facilitate
implementation of Svvptc include: not having any address-translation caches, not
Expand Down

0 comments on commit 50aba24

Please sign in to comment.