From: Howard Chu Date: Sun, 3 Jul 2011 03:44:24 +0000 (-0700) Subject: Tweak comment about overflow allocations X-Git-Tag: submit/tizen/20180312.054306~1115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86e78566e3ccd3b2d5451f5a31dc912a16ce81fb;p=platform%2Fupstream%2Flmdb.git Tweak comment about overflow allocations --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index b5a9e33..67e902e 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 */