Re: Some interesting results from tweaking spinlocks

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mlw <markw(at)mohawksoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Some interesting results from tweaking spinlocks
Date: 2002-01-05 18:13:16
Message-ID: 3C37423C.8040209@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-01-05 19:01:04 Re: Some interesting results from tweaking spinlocks
Previous Message Oleg Bartunov 2002-01-05 18:11:13 Re: RC1 time?