Re: Some interesting results from tweaking spinlocks - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Some interesting results from tweaking spinlocks
Date
Msg-id 3C37423C.8040209@tm.ee
Whole thread Raw
In response to Some interesting results from tweaking spinlocks  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: LWLock contention: I think I understand the problem
Next
From: Joe Conway
Date:
Subject: Re: pgcryto strangeness...