commit | 377c2ecf36bd3d42393ce59ee2c22ed03fd195da | [log] [tgz] |
---|---|---|
author | Adam Barth <abarth@fuchsia.infra.roller.google.com> | Mon Nov 18 21:09:58 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 18 13:11:35 2024 -0800 |
tree | a0b2c59be96785138dd1e7ed392e26ddfa366427 | |
parent | c43ec6062b995a598fdbd28cdc3d12554e652a8f [diff] |
[roll] Roll fuchsia [starnix][mm] Fix MremapParamTest.MayMove_Expansion with alternate_anon_allocs The functional difference with this CL is that we are now locating the "growth" region of the remapped memory using this line of code: ``` let growth_start_addr = dst_addr + length_to_move; ``` Previously, we were putting the growth region *after* the entire size of the remapped region, which caused us to overwrite memory that might have been mapped for another purpose. We also remove the "allocate_address_range" step for mapping anonymous memory because that step is not needed now that Starnix is responsible for selecting addresses. This remainder of this change refactors `select_address` to return an enum with fewer options so that we can remove the `unreachable` assert in favor of the compiler proving those causes are not needed using the type system. Test: MremapParamTest.MayMove_Expansion Original-Bug: b/310255065 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1159114 Original-Revision: f92fec113303475a88860bf1dbe060926fad9e62 GitOrigin-RevId: ef8a0605f4e979d4466f9c62316f0bfcbece58ec Change-Id: I824e0a3e151602a64efd803ca0e61c374111ebf7
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 in one of the communication channels documented at get involved.
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
.