[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
1 file changed
tree: 3e773ae84df64463e58457a5a0065e0f3af9a5ed
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.