Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sNS4D-008jWT-TU for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Jun 2024 07:00:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sNS4A-008WpD-9U for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Jun 2024 07:00:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sNS49-008Wm4-UT for pgsql-hackers@lists.postgresql.org; Sat, 29 Jun 2024 07:00:10 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sNS45-0046rl-57 for pgsql-hackers@lists.postgresql.org; Sat, 29 Jun 2024 07:00:07 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-52e764bb3fbso1711997e87.3 for ; Sat, 29 Jun 2024 00:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719644403; x=1720249203; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wbxMqfNPqIslSNhWMntDlEqUUZ6bORbx6dsnhvtNeIQ=; b=WXPZhMSFOvTi7vuwYbbA1Db3tmckp/kSAhgkIwxOgonmmHbS0tXE8zW663tQKZiQb6 hxQStCHAIcTbrtffuklhHfGtnxaLwnmusUb6G3iIxLXgAp4s9Qm9lZodGg2tOnGDofEk H0uZHWFkXryktLYqh4hmm55YNuWCRpCTcJCMUVIcPxyoBqc7AWn3KI4t0ftwFe4MByNE ePg9bowSyXv1dCB62reaCgXgWWtdI7O+qEZ/zsZkwEvRCnK1SimD9DCVEqfZ7bvOF4Hs E5ZkMBp4U0YKrr2rNu6sYt/7NS/kv+qhl/JZsDLeOg0t5lKjEVTv4IAoWu27WfaKiNLC l0xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719644403; x=1720249203; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wbxMqfNPqIslSNhWMntDlEqUUZ6bORbx6dsnhvtNeIQ=; b=iUAVmzpq/Mm/7G71p7nQ5meSNfY9RNB2+Z79MeOiND9cwP3HewbXIkgbyYF5sM2+eh yFe1r6e1N20rHy/Cn73yVvV8jOwh9IjPnfqqk0n3Liv7JbIIiaoFmBS+AbxrCrieegEE Qp4YXxbfOrF9HwxhV8L/1hwm8qR4aEQI3GHrKnRrWXpI+3FO2fJS8L460aGOyJdg/7PF ZZ4EqGZ1Wu9W3bDCoW8o2wrpNY79qXD2wZ318kC0dZpvwe3z8GaKaSr872WvvzPkZvgd JRDV0ttoDwrs40G6jafjWG51SJ/XmF2BkdUHmuuZlUkmglDfOxwXlUrG5VfDYCYlnRhR VItA== X-Forwarded-Encrypted: i=1; AJvYcCXHCKYkXPG7ajepJN4iNeF4o5viTq0mG52CmgIzx1b7qRhPn0QEzWR67rieC5bEG9bcNE0uSfGDQGQmvR2U1rIxB2LFZAQeKDYiTGSUEOrrE6Ho X-Gm-Message-State: AOJu0Ywn7UNSLbEdH2RePFVTlN/SBfZVe2X6FuUHW6n7NRtUvtxLrAT5 TlmF7pBhAx84nkZ9p6w/TQ/Tuyu6pd80HKsg6h5xt2tc9OOl449h X-Google-Smtp-Source: AGHT+IH2vVRBIthfMfbSQF8Mf568CdfUoY31LPewI+t4cIShtSk5Z4K6G6z/IYbZHKGaFDJsKHECZg== X-Received: by 2002:a05:6512:ac4:b0:52e:7684:a385 with SMTP id 2adb3069b0e04-52e826fc38dmr237319e87.52.1719644402678; Sat, 29 Jun 2024 00:00:02 -0700 (PDT) Received: from [1.0.0.7] ([81.23.167.104]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52e7ab31676sm507997e87.243.2024.06.29.00.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 Jun 2024 00:00:02 -0700 (PDT) Message-ID: <36796438-a718-cf9b-2071-b2c1b947c1b5@gmail.com> Date: Sat, 29 Jun 2024 10:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: LogwrtResult contended spinlock Content-Language: en-US To: Alvaro Herrera , Bharath Rupireddy Cc: Tom Lane , Andres Freund , Jeff Davis , pgsql-hackers@lists.postgresql.org, Jaime Casanova References: <202404071219.p5qphx7vzxte@alvherre.pgsql> From: Alexander Lakhin In-Reply-To: <202404071219.p5qphx7vzxte@alvherre.pgsql> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Alvaro and Bharath, 07.04.2024 15:19, Alvaro Herrera wrote: > I pushed the "copy" pointer now, except that I renamed it to "insert", > which is what we call the operation being tracked. I also added some > comments. I've discovered that Windows x86 build fails tests after commit f3ff7bf83. Using "x86 Native Tools Command Prompt for VS 2022", I do: meson setup build -Dcassert=true cd build ninja meson test --suite setup and get: 1/3 postgresql:setup / tmp_install               OK 1.56s 2/3 postgresql:setup / install_test_files        OK 0.09s 3/3 postgresql:setup / initdb_cache              FAIL 1.88s   exit status 1 testlog.txt contains: running bootstrap script ... ----------------------------------- stderr ----------------------------------- TRAP: failed Assert("TYPEALIGN(8, (uintptr_t)(&currval)) == (uintptr_t)(&currval)"), File: "...\src\include\port/atomics.h", Line: 597, PID: 7556 child process was terminated by exception 0xC0000409 On f3ff7bf83~1, `meson test --suite setup` passes for me. (I could not find if support for 32-bit Windows ended, so decided to report this.) Best regards, Alexander