Document SMP detection code.

This commit is contained in:
Bruce Momjian 2002-01-22 22:15:07 +00:00
parent e7e25b2d93
commit f898e60ec9

View File

@ -1,6 +1,6 @@
TODO list for PostgreSQL TODO list for PostgreSQL
======================== ========================
Last updated: Tue Jan 22 16:54:39 EST 2002 Last updated: Tue Jan 22 17:14:43 EST 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@ -387,6 +387,7 @@ LOCKING
* Make locking of shared data structures more fine-grained * Make locking of shared data structures more fine-grained
* Add code to detect an SMP machine and handle spinlocks accordingly * Add code to detect an SMP machine and handle spinlocks accordingly
http://www1.distributed.net/source, in client/common/cpucheck.cpp
* Research use of sched_yield() for spinlock acquisition failure * Research use of sched_yield() for spinlock acquisition failure
* -Improve spinlock code [performance] (Tom) * -Improve spinlock code [performance] (Tom)