Re:Rpmalloc – A lock-free memory allocator
by hoytech on Sunday March 19, 2017 @01:14PM
(#13908322)
> check when realloc will return different address (meaning that it had to copy)
What faragon is referring to is that this assumption is incorrect. The virtual address changing does not imply the memory was copied. On linux for example it could have been remapped with mremap(2).
What faragon is referring to is that this assumption is incorrect. The virtual address changing does not imply the memory was copied. On linux for example it could have been remapped with mremap(2).