Commit abdb81cc authored by Lioncash's avatar Lioncash
Browse files

kernel/vm_manager: Handle case of identical calls to HeapAllocate

In cases where HeapAllocate is called with the same size of the current
heap, we can simply do nothing and return successfully.

This avoids doing work where we otherwise don't have to. This is also
what the kernel itself does in this scenario.
parent 9f63acac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment