From: | "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: GCC builtins for atomic-test-and-set, memory barries, and such |
Date: | 2007-09-24 04:10:33 |
Message-ID: | 36e682920709232110w7981e1e3i2a52d60b63b370a7@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 9/23/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> It doesn't seem very interesting given that (a) we already have working
> code for this area, and (b) gcc is not our only target compiler.
I agree. I'd prefer to know exactly what's going on in the atomic
code (rather than having the compiler take care of it for me).
Similarly, it's pretty rare to use GCC on anything but Linux and the
*BSDs as each proprietary UNIX vendor has their own compiler optimized
for their own architectures and operating systems.
--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 | http://www.enterprisedb.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-09-24 04:12:10 | Re: autovacuum launcher eating too much CPU |
Previous Message | Alvaro Herrera | 2007-09-24 03:52:55 | pgsql: Reduce the size of memory allocations by lazy vacuum when |