Re: Some interesting results from tweaking spinlocks

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Some interesting results from tweaking spinlocks
Дата
Msg-id 3C37423C.8040209@tm.ee
обсуждение исходный текст
Ответ на Some interesting results from tweaking spinlocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

>Unfortunately, while we could store the PID of the current lock holder
>in the data structure, I can't think of any adequately portable way to
>do anything with the information :-(.  AFAIK there's no portable kernel
>call that asks "is this PID currently running on another CPU?"
>
But do all performance tweaks need to be portable ?

>regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>




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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: LWLock contention: I think I understand the problem
Следующее
От: Joe Conway
Дата:
Сообщение: Re: pgcryto strangeness...