pgsql: Use a non-locking test in TAS_SPIN() on all IA64 platforms.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Use a non-locking test in TAS_SPIN() on all IA64 platforms.
Дата
Msg-id E1Qy5U5-0007G3-5q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use a non-locking test in TAS_SPIN() on all IA64 platforms.

Per my testing, this works just as well with gcc as it does with HP's
compiler; and there is no reason to think that the effect doesn't occur
with icc, either.

Also, rewrite the header comment about enforcing sequencing around spinlock
operations, per Robert's gripe that it was misleading.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be1e8053f48f76ac718a03d6526e34e2f2489f5c

Modified Files
--------------
src/include/storage/s_lock.h |   28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Improve spinlock performance for HP-UX, ia64, non-gcc.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix concat_ws() to not insert a separator after leading NULL arg