aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/dbsize.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-09-16 00:30:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-09-16 00:30:05 +0000
commitdc06734a7272ab1a3be3f6b86921b0a35008526a (patch)
treecfbf3b5158a78c3effe2a48be57b1835a412eba2 /src/backend/utils/adt/dbsize.c
parent1dd9b093322e08ebb82134d953dec0d2e4c04b1a (diff)
downloadpostgresql-dc06734a7272ab1a3be3f6b86921b0a35008526a.tar.gz
postgresql-dc06734a7272ab1a3be3f6b86921b0a35008526a.zip
Force the size and alignment of LWLock array entries to be either 16 or 32
bytes. This shouldn't make any difference on x86 machines, where the size happened to be 16 bytes anyway, but on 64-bit machines and machines with slock_t int or wider, it will speed array indexing and hopefully reduce SMP cache contention effects. Per recent experimentation.
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions