Add infrastructure for making spins_per_delay variable depending on

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a72ee090900a24815aea5986ef5417c2312c52a5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-11T20:41:32Z
Releases: 8.1.0
Add infrastructure for making spins_per_delay variable depending on
whether we seem to be running in a uniprocessor or multiprocessor.
The adjustment rules could probably still use further tweaking, but
I'm convinced this should be a win overall.

Files

PathChange+/−
src/backend/storage/lmgr/proc.c modified +36 −2
src/backend/storage/lmgr/s_lock.c modified +99 −20
src/include/storage/proc.h modified +3 −1
src/include/storage/s_lock.h modified +7 −1