The locate_virt function could not spot a memory area that is not pointing to the head of allocated memory.
Because of this, it was not possible to have a memory pool in the userland.
This pull request includes the fix for this along with some tests.
The
locate_virt
function could not spot a memory area that is not pointing to the head of allocated memory. Because of this, it was not possible to have a memory pool in the userland. This pull request includes the fix for this along with some tests.