commit | a0bb598277ad9abfbcde3f57a165d76b3d8db595 | [log] [tgz] |
---|---|---|
author | Adrian Danis <adanis@fuchsia.infra.roller.google.com> | Mon Sep 09 02:34:26 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Sep 08 19:35:44 2024 -0700 |
tree | 3e773ae84df64463e58457a5a0065e0f3af9a5ed | |
parent | ce1f8567e9da2a37f5306183991b2200500c9485 [diff] |
[roll] Roll fuchsia [kernel][vm] Transactionize AddPageLocked Splits the existing AddPageLocked into two pieces, one that performs checks and can generate errors, and another that always succeeds. A new AddPageLocked method is written, with slightly different semantics, to provide a convenience wrapper around this transaction. The separation of checks that can fail, and page insertion, solves common problems around cleanup of failure in AddPageLocked that either led to more convoluted code (such as in SupplyPagesLocked), or performing separate extra slot handling, such as in CloneCowPageLocked. This latter case was not just code complexity, but also a performance penalty as the WAVL tree got walked an extra (redundant) time. Run-All-Tests: True Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1113612 Original-Revision: 7e0dcd29c62b112d109a4f1c5576bd60fe74774e GitOrigin-RevId: 9ee155d9dbf0c3d9a2faccd7a51a058bd711798d Change-Id: Ib78730142aaac7186f0c4dc08de655d6257b5a4d
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.