add wiki commentary links
[ghc-hetmet.git] / rts / sm / MBlock.h
index 14244dc..ef6f8de 100644 (file)
@@ -4,6 +4,9 @@
  *
  * MegaBlock Allocator interface.
  *
+ * See wiki commentary at
+ *  http://hackage.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced
+ *
  * ---------------------------------------------------------------------------*/
 
 #ifndef MBLOCK_H
@@ -27,6 +30,9 @@ extern void *getNextMBlock(void *mblock);
    HEAP_ALLOCED is called FOR EVERY SINGLE CLOSURE during GC.
    It needs to be FAST.
 
+   See wiki commentary at
+     http://hackage.haskell.org/trac/ghc/wiki/Commentary/HeapAlloced
+
    Implementation of HEAP_ALLOCED
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~