Skip to content
Snippets Groups Projects
Commit dc06734a authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 1dd9b093
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment