diff options
author | Andreas Kling <kling@serenityos.org> | 2022-04-03 15:27:47 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-03 21:51:58 +0200 |
commit | e852a69a069de6176cd6ff3534d5a606d383f396 (patch) | |
tree | 43fb2916aa4c0d25efbefb15315663549c854c30 /AK/AnyOf.h | |
parent | cbf52d474c9bc0a88e132cfd9f5ba12361b70453 (diff) | |
download | serenity-e852a69a069de6176cd6ff3534d5a606d383f396.zip |
LibWeb: Make VM allocation atomic for kernel regions
Instead of first allocating the VM range, and then inserting a region
with that range into the MM region tree, we now do both things in a
single atomic operation:
- RegionTree::place_anywhere(Region&, size, alignment)
- RegionTree::place_specifically(Region&, address, size)
To reduce the number of things we do while locking the region tree,
we also require callers to provide a constructed Region object.
Diffstat (limited to 'AK/AnyOf.h')
0 files changed, 0 insertions, 0 deletions