Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 0C4A53F6470 for ; Sat, 7 Jan 2012 13:43:07 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RjaIK-0001eK-Hn for pgsql-bugs@postgresql.org; Sat, 07 Jan 2012 17:43:06 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q07HgnSC020351; Sat, 7 Jan 2012 12:42:49 -0500 (EST) To: Martin Pitt cc: pgsql-bugs@postgresql.org Subject: Re: [PATCH v3] Use CC atomic builtins on ARM In-reply-to: <20120107103002.GB2822@piware.de> References: <20120107103002.GB2822@piware.de> Comments: In-reply-to Martin Pitt message dated "Sat, 07 Jan 2012 11:30:02 +0100" Date: Sat, 07 Jan 2012 12:42:48 -0500 Message-ID: <20350.1325958168@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/45 X-Sequence-Number: 32112 Martin Pitt writes: > Tom Lane [2011-12-21 10:55 -0500]: >> For the moment I'm inclined to consider using these functions *only* on >> ARM, so as to limit our exposure to such bugs. That would also limit >> the risk of using an inappropriate choice of lock width. > OK, fair enough. New patch attached, which does exactly this now. > Third time is the charm! I've got some minor cosmetic complaints about this, but unless anyone's got something substantive I will fix those, apply and back-patch it. There are some folks trying to get a Fedora ARM port running and I think this might help them with Postgres ... http://arm.koji.fedoraproject.org/koji/getfile?taskID=246852&name=build.log regards, tom lane