Try to allocate to the next power of 2, instead of just aligning
authorceriel <none@none>
Fri, 10 Feb 1989 09:18:19 +0000 (09:18 +0000)
committerceriel <none@none>
Fri, 10 Feb 1989 09:18:19 +0000 (09:18 +0000)
commit5a4933ff7fd20ef03956f1063317b22bde1bb445
tree45b7fc447b534bf1ac34e628396e9cb1dcea3be6
parent7161d599565c7458c4821a0360840d87feff9a1f
Try to allocate to the next power of 2, instead of just aligning
with GRABSIZE; This way, malloc(1000000) followed by free() followed by
another malloc(1000000) will result in the same block being allocated,
because first_present will now find it
modules/src/malloc/mal.c