mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-26 19:28:59 +00:00
Kernel: Forked children should inherit their RangeAllocator by copy.
Otherwise we'll start handing out addresses that are very likely already in use by existing ranges.
This commit is contained in:
parent
8098d2e337
commit
7afc0fb9c8
Notes:
sideshowbarker
2024-07-19 13:59:20 +09:00
Author: https://github.com/awesomekling
Commit: 7afc0fb9c8
5 changed files with 11 additions and 5 deletions
|
@ -46,6 +46,7 @@ private:
|
|||
class RangeAllocator {
|
||||
public:
|
||||
RangeAllocator(LinearAddress, size_t);
|
||||
RangeAllocator(const RangeAllocator&);
|
||||
~RangeAllocator();
|
||||
|
||||
Range allocate_anywhere(size_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue