commit | f7060921f6013069e166819e9c344a0da52baf6e | [log] [tgz] |
---|---|---|
author | Dustin Green <dustingreen@google.com> | Fri Dec 10 05:53:34 2021 +0000 |
committer | releases-try-builder <releases-try-builder@fuchsia-infra.iam.gserviceaccount.com> | Mon Dec 13 04:02:53 2021 +0000 |
tree | a08d72704c02e09a36d37a54a12a5c00533692df | |
parent | 4d4a581af64a6051c96d6cd23001dd7a1d0a5653 [diff] |
[zircon][vm][ppb] Fix (new) page replacement on ALWAYS_NEED The page replacment during ZX_VMAR_OP_ALWAYS_NEED wasn't able to unmap due to currently_faulting_ and the fact that PageFaultWithVmoCallback() expects the looked-up physical address to remain the same across vmo_locked_callback(). By not using the page fault path to set always_need = 1, we avoid currently_faulting_ true, so the unmap during ReplacePage() isn't ignored. Also fix a bad merge. Change-Id: I5a8b0d00ef5f79cc49f2d933c16544305188755f Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/615141 Reviewed-by: Adrian Danis <adanis@google.com> Reviewed-by: Rasha Eqbal <rashaeqbal@google.com> Commit-Queue: Dustin Green <dustingreen@google.com> (cherry picked from commit 484a6c9a62cdad035e8fc33dd7e3a2c8550ce3f3)
Fuchsia an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.