Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brrTi-0007wR-6j for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2016 19:03:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1brrTh-0006x2-PO for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Oct 2016 19:03:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brrSI-000427-MG for pgsql-hackers@postgresql.org; Wed, 05 Oct 2016 19:02:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1brrSG-0005Pd-6R for pgsql-hackers@postgresql.org; Wed, 05 Oct 2016 19:02:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u95J29Jo024586; Wed, 5 Oct 2016 15:02:09 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org Subject: Re: Our "fallback" atomics implementation doesn't actually work In-reply-to: <20161005183402.6veikn2ajr52vosy@alap3.anarazel.de> References: <14947.1475690465@sss.pgh.pa.us> <20161005183402.6veikn2ajr52vosy@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 05 Oct 2016 11:34:02 -0700" Date: Wed, 05 Oct 2016 15:02:09 -0400 Message-ID: <24585.1475694129@sss.pgh.pa.us> X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > Without yet having analyzed this deeply, could it actually be that the > reason is that sem_post/wait aren't proper memory barriers? On a glance > the symptoms look like values have been modified without proper locks... Hmm, possible ... regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers