mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
These functions were doing exactly the same thing for range allocation, so share that code in an allocate_range() helper. Region allocation will now also fail if range allocation fails, which means that mmap() can actually fail without falling apart. Exciting times!
10 KiB
10 KiB