summaryrefslogtreecommitdiff
path: root/AK/IntrusiveList.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-04-03 15:27:47 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-03 21:51:58 +0200
commite852a69a069de6176cd6ff3534d5a606d383f396 (patch)
tree43fb2916aa4c0d25efbefb15315663549c854c30 /AK/IntrusiveList.h
parentcbf52d474c9bc0a88e132cfd9f5ba12361b70453 (diff)
downloadserenity-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/IntrusiveList.h')
0 files changed, 0 insertions, 0 deletions