Avoid floating-point underflow while tracking buffer allocation rate.
Avoid floating-point underflow while tracking buffer allocation rate.

When the system is idle for awhile after activity, the "smoothed_alloc"
state variable in BgBufferSync converges slowly to zero.  With standard
IEEE float arithmetic this results in several iterations with denormalized
values, which causes kernel traps and annoying log messages on some
poorly-designed platforms.  There's no real need to track such small values
of smoothed_alloc, so we can prevent the kernel traps by forcing it to zero
as soon as it's too small to be interesting for our purposes.  This issue
is purely cosmetic, since the iterations don't happen fast enough for the
kernel traps to pose any meaningful performance problem, but still it seems
worth shutting up the log messages.

The kernel log messages were previously reported by a number of people,
but kudos to Greg Matthews for tracking down exactly where they were coming
from.

xuegang/gpdb,xinzweb/gpdb,jmcatamney/gpdb,adam8157/gpdb,0x0FFF/gpdb,chrishajas/gpdb,xinzweb/gpdb,chrishajas/gpdb,ahachete/gpdb,adam8157/gpdb,royc1/gpdb,xuegang/gpdb,xinzweb/gpdb,janebeckman/gpdb,janebeckman/gpdb,lintzc/gpdb,Chibin/gpdb,lisakowen/gpdb,xuegang/gpdb,greenplum-db/gpdb,rvs/gpdb,xuegang/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,Chibin/gpdb,edespino/gpdb,rvs/gpdb,Chibin/gpdb,xinzweb/gpdb,zaksoup/gpdb,rvs/gpdb,CraigHarris/gpdb,rvs/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,50wu/gpdb,cjcjameson/gpdb,ahachete/gpdb,CraigHarris/gpdb,xinzweb/gpdb,lintzc/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,royc1/gpdb,kaknikhil/gpdb,edespino/gpdb,kaknikhil/gpdb,Chibin/gpdb,kaknikhil/gpdb,janebeckman/gpdb,0x0FFF/gpdb,janebeckman/gpdb,ahachete/gpdb,yuanzhao/gpdb,xinzweb/gpdb,50wu/gpdb,ahachete/gpdb,xinzweb/gpdb,lisakowen/gpdb,lisakowen/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,Quikling/gpdb,ahachete/gpdb,CraigHarris/gpdb,chrishajas/gpdb,lisakowen/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,Quikling/gpdb,CraigHarris/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,xuegang/gpdb,zaksoup/gpdb,CraigHarris/gpdb,ahachete/gpdb,lisakowen/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,royc1/gpdb,lisakowen/gpdb,cjcjameson/gpdb,chrishajas/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,lisakowen/gpdb,0x0FFF/gpdb,xuegang/gpdb,Quikling/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,chrishajas/gpdb,chrishajas/gpdb,lintzc/gpdb,CraigHarris/gpdb,Quikling/gpdb,rvs/gpdb,edespino/gpdb,ashwinstar/gpdb,zaksoup/gpdb,cjcjameson/gpdb,edespino/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,lintzc/gpdb,janebeckman/gpdb,Quikling/gpdb,kaknikhil/gpdb,Chibin/gpdb,50wu/gpdb,xuegang/gpdb,adam8157/gpdb,chrishajas/gpdb,zaksoup/gpdb,xuegang/gpdb,royc1/gpdb,adam8157/gpdb,edespino/gpdb,yuanzhao/gpdb,royc1/gpdb,Chibin/gpdb,adam8157/gpdb,rvs/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,rvs/gpdb,rvs/gpdb,lintzc/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,lintzc/gpdb,janebeckman/gpdb,Quikling/gpdb,Quikling/gpdb,chrishajas/gpdb,50wu/gpdb,royc1/gpdb,lisakowen/gpdb,rvs/gpdb,ashwinstar/gpdb,Chibin/gpdb,50wu/gpdb,edespino/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,royc1/gpdb,CraigHarris/gpdb,Quikling/gpdb,xuegang/gpdb,lintzc/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,xinzweb/gpdb,edespino/gpdb,cjcjameson/gpdb,Chibin/gpdb,cjcjameson/gpdb,Chibin/gpdb,janebeckman/gpdb,jmcatamney/gpdb,adam8157/gpdb,edespino/gpdb,greenplum-db/gpdb,50wu/gpdb,Quikling/gpdb,zaksoup/gpdb,yuanzhao/gpdb,rvs/gpdb,adam8157/gpdb,ashwinstar/gpdb,edespino/gpdb,kaknikhil/gpdb,50wu/gpdb,zaksoup/gpdb,adam8157/gpdb,zaksoup/gpdb,janebeckman/gpdb,royc1/gpdb,Chibin/gpdb,janebeckman/gpdb,cjcjameson/gpdb,Quikling/gpdb,kaknikhil/gpdb,ahachete/gpdb,ahachete/gpdb,50wu/gpdb,zaksoup/gpdb,janebeckman/gpdb,edespino/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,lintzc/gpdb,lintzc/gpdb