Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jm2Cy-00078X-Jd for pgsql-committers@arkaria.postgresql.org; Thu, 18 Jun 2020 21:36:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jm2Cx-0003n1-Fe for pgsql-committers@arkaria.postgresql.org; Thu, 18 Jun 2020 21:36:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jm2Cx-0003a6-AU for pgsql-committers@lists.postgresql.org; Thu, 18 Jun 2020 21:36:27 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jm2Cu-0003aw-T6 for pgsql-committers@lists.postgresql.org; Thu, 18 Jun 2020 21:36:26 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jm2Cu-0006Oj-Gr for pgsql-committers@lists.postgresql.org; Thu, 18 Jun 2020 21:36:24 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jm2Cu-0006Wp-Ae for pgsql-committers@lists.postgresql.org; Thu, 18 Jun 2020 21:36:24 +0000 Content-Type: multipart/mixed; boundary="===============7186616747244529157==" MIME-Version: 1.0 From: Andres Freund To: pgsql-committers@lists.postgresql.org Subject: pgsql: Fix deadlock danger when atomic ops are done under spinlock. X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Thu, 18 Jun 2020 21:36:24 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --===============7186616747244529157== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Rml4IGRlYWRsb2NrIGRhbmdlciB3aGVuIGF0b21pYyBvcHMgYXJlIGRvbmUgdW5kZXIgc3Bpbmxv Y2suCgpUaGlzIHdhcyBhIGRhbmdlciBvbmx5IGZvciAtLWRpc2FibGUtc3BpbmxvY2tzIGluIGNv bWJpbmF0aW9uIHdpdGgKYXRvbWljIG9wZXJhdGlvbnMgdW5zdXBwb3J0ZWQgYnkgdGhlIGN1cnJl bnQgcGxhdGZvcm0uCgpXaGlsZSBhdG9taWNzLmMgd2FzIGNhcmVmdWwgdG8gc2lnbmFsIHRoYXQg YSBzZXBhcmF0ZSBzZW1hcGhvcmUgb3VnaHQKdG8gYmUgdXNlZCB3aGVuIHNwaW5sb2NrIGVtdWxh dGlvbiBpcyBhY3RpdmUsIHNwaW4uYyBkaWRuJ3QgYWN0dWFsbHkKaW1wbGVtZW50IHRoYXQgbWVj aGFuaXNtLiBUaGF0J3MgbXkgKEFuZHJlcycpIGZhdWx0LCBpdCBzZWVtcyB0byBoYXZlCmdvdHRl biBsb3N0IGR1cmluZyB0aGUgZGV2ZWxvcG1lbnQgb2YgdGhlIGF0b21pYyBvcGVyYXRpb25zIHN1 cHBvcnQuCgpGaXggdGhhdCBpc3N1ZSBhbmQgYWRkIHRlc3QgZm9yIG5lc3RpbmcgYXRvbWljIG9w ZXJhdGlvbnMgaW5zaWRlIGEKc3BpbmxvY2suCgpBdXRob3I6IEFuZHJlcyBGcmV1bmQKRGlzY3Vz c2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMvbS8yMDIwMDYwNTAyMzMwMi5nNnYzeWRvenk1dHhpZmpp QGFsYXAzLmFuYXJhemVsLmRlCkJhY2twYXRjaDogOS41LQoKQnJhbmNoCi0tLS0tLQpSRUxfMTBf U1RBQ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