ref: fdaa107e288c8aebc6ff8d69bb9a83cdb6b64fc8
parent: 6127cfff42b7f5245b0a95f15fdce2ab82cf73ea
author: Ori Bernstein <[email protected]>
date: Mon Aug 6 20:52:04 EDT 2012
Improve comments.
--- a/alloc.myr
+++ b/alloc.myr
@@ -182,7 +182,8 @@
s.next = bkt.cache
bkt.cache = s
else
- /* we allocated 2*Slabs so we could align it */
+ /* we mapped 2*Slabsz so we could align it,
+ so we need to unmap the same */
munmap(s.head, Slabsz*2)
;;
;;