]> git.sur5r.net Git - openldap/commitdiff
Tweak comment about overflow allocations
authorHoward Chu <hyc@symas.com>
Sun, 3 Jul 2011 03:44:24 +0000 (20:44 -0700)
committerHoward Chu <hyc@symas.com>
Thu, 1 Sep 2011 23:17:06 +0000 (16:17 -0700)
libraries/libmdb/mdb.c

index b5a9e33a9c1ae91b02246566d4a4683714c1da7d..67e902e8a2cae5d7c1c633b8a9a56ecc02e0ba58 100644 (file)
@@ -389,7 +389,10 @@ mdb_newpage(MDB_txn *txn, MDB_page *parent, unsigned int parent_idx, int num)
                        MDB_oldpages *mop = txn->mt_env->me_pghead;
                        txn->mt_oldest = oldest;
                        if (num > 1) {
-                               /* FIXME */
+                               /* FIXME: For now, always use fresh pages. We
+                                * really ought to search the free list for a
+                                * contiguous range.
+                                */
                                ;
                        } else {
                                /* peel pages off tail, so we only have to truncate the list */