pgsql: Tweak the tree descent loop in fsm_search_avail to not look at

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak the tree descent loop in fsm_search_avail to not look at
Date: 2008-12-10 17:11:18
Message-ID: 20081210171118.C107D7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak the tree descent loop in fsm_search_avail to not look at the
right child if it doesn't need to. This saves some miniscule number
of cycles, but the ulterior motive is to avoid an optimization bug
known to exist in SCO's C compiler (and perhaps others?)

Modified Files:
--------------
pgsql/src/backend/storage/freespace:
fsmpage.c (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/freespace/fsmpage.c?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message User Cunha17 2008-12-11 00:58:02 snapshot - src: Fix for internal NOTICE messages in production
Previous Message Bruce Momjian 2008-12-10 11:05:49 pgsql: Update journaling performance docs based on comments by Michael