Marginal performance hack: remove the loop that used to be needed to look through a freelist for a chunk of adequate size.  For a long time now, all elements of a given freelist have been exactly the same allocated size, so we don't need a loop.  Since the loop never iterated more than once, you'd think this wouldn't matter much, but it makes a noticeable savings in a simple test --- perhaps because the compiler isn't optimizing on a mistaken assumption that the loop would repeat. AllocSetAlloc is called often enough that saving even a couple of instructions is worthwhile.
Marginal performance hack: remove the loop that used to be needed to
look through a freelist for a chunk of adequate size.  For a long time
now, all elements of a given freelist have been exactly the same
allocated size, so we don't need a loop.  Since the loop never iterated
more than once, you'd think this wouldn't matter much, but it makes a
noticeable savings in a simple test --- perhaps because the compiler
isn't optimizing on a mistaken assumption that the loop would repeat.
AllocSetAlloc is called often enough that saving even a couple of
instructions is worthwhile.

janebeckman/gpdb,Quikling/gpdb,adam8157/gpdb,yuanzhao/gpdb,ahachete/gpdb,royc1/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,lintzc/gpdb,arcivanov/postgres-xl,janebeckman/gpdb,Quikling/gpdb,zaksoup/gpdb,xuegang/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,ahachete/gpdb,lisakowen/gpdb,rvs/gpdb,lintzc/gpdb,janebeckman/gpdb,rvs/gpdb,cjcjameson/gpdb,xuegang/gpdb,greenplum-db/gpdb,royc1/gpdb,50wu/gpdb,cjcjameson/gpdb,zaksoup/gpdb,pavanvd/postgres-xl,yuanzhao/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,adam8157/gpdb,janebeckman/gpdb,xuegang/gpdb,zeroae/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,royc1/gpdb,pavanvd/postgres-xl,kaknikhil/gpdb,chrishajas/gpdb,snaga/postgres-xl,kmjungersen/PostgresXL,adam8157/gpdb,greenplum-db/gpdb,kmjungersen/PostgresXL,lintzc/gpdb,Quikling/gpdb,ashwinstar/gpdb,xinzweb/gpdb,zeroae/postgres-xl,cjcjameson/gpdb,techdragon/Postgres-XL,kaknikhil/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,zeroae/postgres-xl,greenplum-db/gpdb,yuanzhao/gpdb,pavanvd/postgres-xl,tpostgres-projects/tPostgres,arcivanov/postgres-xl,janebeckman/gpdb,xinzweb/gpdb,arcivanov/postgres-xl,arcivanov/postgres-xl,adam8157/gpdb,ovr/postgres-xl,oberstet/postgres-xl,cjcjameson/gpdb,zaksoup/gpdb,50wu/gpdb,50wu/gpdb,lintzc/gpdb,ovr/postgres-xl,kaknikhil/gpdb,Postgres-XL/Postgres-XL,rvs/gpdb,adam8157/gpdb,rvs/gpdb,adam8157/gpdb,ashwinstar/gpdb,Chibin/gpdb,oberstet/postgres-xl,Quikling/gpdb,xuegang/gpdb,greenplum-db/gpdb,ovr/postgres-xl,lintzc/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,oberstet/postgres-xl,kaknikhil/gpdb,royc1/gpdb,chrishajas/gpdb,50wu/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,kmjungersen/PostgresXL,50wu/gpdb,ovr/postgres-xl,edespino/gpdb,edespino/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,Quikling/gpdb,royc1/gpdb,ashwinstar/gpdb,Quikling/gpdb,ovr/postgres-xl,edespino/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,janebeckman/gpdb,Quikling/gpdb,edespino/gpdb,kmjungersen/PostgresXL,lisakowen/gpdb,rvs/gpdb,50wu/gpdb,rvs/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,zaksoup/gpdb,50wu/gpdb,snaga/postgres-xl,CraigHarris/gpdb,oberstet/postgres-xl,jmcatamney/gpdb,xuegang/gpdb,snaga/postgres-xl,Chibin/gpdb,xinzweb/gpdb,Chibin/gpdb,greenplum-db/gpdb,yazun/postgres-xl,CraigHarris/gpdb,janebeckman/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,Quikling/gpdb,Chibin/gpdb,zaksoup/gpdb,royc1/gpdb,tpostgres-projects/tPostgres,Postgres-XL/Postgres-XL,xuegang/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,chrishajas/gpdb,edespino/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,ahachete/gpdb,snaga/postgres-xl,ashwinstar/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,lintzc/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,rvs/gpdb,arcivanov/postgres-xl,techdragon/Postgres-XL,lintzc/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,edespino/gpdb,royc1/gpdb,xuegang/gpdb,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,lintzc/gpdb,jmcatamney/gpdb,edespino/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,ahachete/gpdb,pavanvd/postgres-xl,edespino/gpdb,CraigHarris/gpdb,lisakowen/gpdb,Chibin/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,rvs/gpdb,yazun/postgres-xl,chrishajas/gpdb,CraigHarris/gpdb,edespino/gpdb,Quikling/gpdb,royc1/gpdb,oberstet/postgres-xl,techdragon/Postgres-XL,yuanzhao/gpdb,Chibin/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,ahachete/gpdb,ahachete/gpdb,ahachete/gpdb,postmind-net/postgres-xl,Chibin/gpdb,Chibin/gpdb,chrishajas/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,zaksoup/gpdb,0x0FFF/gpdb,lisakowen/gpdb,chrishajas/gpdb,pavanvd/postgres-xl,yuanzhao/gpdb,zaksoup/gpdb,Chibin/gpdb,lisakowen/gpdb,zeroae/postgres-xl,rvs/gpdb,0x0FFF/gpdb,janebeckman/gpdb,kmjungersen/PostgresXL,0x0FFF/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,yazun/postgres-xl,yuanzhao/gpdb,rvs/gpdb,Chibin/gpdb,ahachete/gpdb,adam8157/gpdb,xuegang/gpdb,ashwinstar/gpdb,xuegang/gpdb,zeroae/postgres-xl,janebeckman/gpdb,CraigHarris/gpdb,xinzweb/gpdb,janebeckman/gpdb,lintzc/gpdb,edespino/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,zaksoup/gpdb,chrishajas/gpdb,yazun/postgres-xl,techdragon/Postgres-XL,Quikling/gpdb,yazun/postgres-xl,xinzweb/gpdb,cjcjameson/gpdb,xinzweb/gpdb,chrishajas/gpdb,postmind-net/postgres-xl,tpostgres-projects/tPostgres,adam8157/gpdb