From: Howard Chu Date: Sun, 3 Jul 2011 03:44:24 +0000 (-0700) Subject: Tweak comment about overflow allocations X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~154 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86e78566e3ccd3b2d5451f5a31dc912a16ce81fb;p=openldap Tweak comment about overflow allocations --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index b5a9e33a9c..67e902e8a2 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -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 */