Spinlocks may be broken.

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Spinlocks may be broken.
Дата
Msg-id 20001205064813.S8051@fw.wintelcom.net
обсуждение исходный текст
Ответы Re: Spinlocks may be broken.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'm debugging some code here where I get problems related to
spinlocks, anyhow, while running through the files I noticed
that the UNLOCK code seems sort of broken.

What I mean is that on machines that have loosely ordered
memory models you can have problems because of data that's
supposed to be protected by the lock not getting flushed
out to main memory until possibly after the unlock happens.

I'm pretty sure you guys need memory barrier ops.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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

Предыдущее
От: Michael Fork
Дата:
Сообщение: RE: SQL to retrieve FK's, Update/Delete action, etc. (fwd)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE