Re: 8.0 beta 1 on linux-mipsel R5900

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.0 beta 1 on linux-mipsel R5900
Дата
Msg-id 29793.1093331916@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.0 beta 1 on linux-mipsel R5900  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Think harder... one processor != one process...

> Well sure, but you don't want a spinlock in that case.

Actually you do, when the normal case is that you don't have to block.
You want it to fall through as quickly as possible in the success case
(the blocking case is going to suck no matter what).  Given the present
set of available/portable technologies, spinlocks win.

If you've got a better alternative, educate us ...
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: PITR: XLog File compression on Archive
Следующее
От: Tom Lane
Дата:
Сообщение: Re: returning modified input from C functions