[Memory] Invalidate physical memory in Release/Decommit (#1559)

This commit is contained in:
Triang3l
2020-02-24 01:04:30 +03:00
parent 95475d5f78
commit c156616103
2 changed files with 25 additions and 15 deletions

View File

@@ -392,7 +392,9 @@ class Memory {
//
// May be triggered for a single page (in case of a write access violation or
// when need to synchronize data given by data providers) or for multiple
// pages (like when memory is allocated).
// pages (like when memory is released, or explicitly to trigger callbacks
// when host-side code can't rely on regular access violations, like when
// accessing a file).
//
// Since granularity of callbacks is one single page, an invalidation
// notification handler must invalidate the all the data stored in the touched