summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/CheckUnload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/CheckUnload.c b/rts/CheckUnload.c
index 084e85b728..473e510f5e 100644
--- a/rts/CheckUnload.c
+++ b/rts/CheckUnload.c
@@ -38,7 +38,8 @@
// object as referenced so that it won't get unloaded in this round.
//
-//
+// Note [Speeding up checkUnload]
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// In certain circumstances, there may be a lot of unloaded ObjectCode structs
// chained in `unloaded_objects` (such as when users `:load` a module in a very
// big repo in GHCi). To speed up checking whether an address lies within any of