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.96) (envelope-from ) id 1wSIIa-0035le-0Z for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 17:44:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSIIV-008uZh-1i for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 17:44:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSIIV-008uZZ-0m for pgsql-hackers@lists.postgresql.org; Wed, 27 May 2026 17:44:04 +0000 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wSIIU-000000012xX-0Cru for pgsql-hackers@postgresql.org; Wed, 27 May 2026 17:44:02 +0000 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-43b65572608so1829303fac.1 for ; Wed, 27 May 2026 10:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779903841; x=1780508641; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=5jsOvYN+IjkUqtcFrjB9v+3hxt6+i8EPkXKK3PasslY=; b=hmsSDiuaeLuGRoGA+UOxNw6e0fT2jl5Q7YYEVJW/L68ta/dLQL6/l4osfP2dr47Ha3 ywMMV5GrxuZ8LJoyd/SjXy9vk4u6+pvWxjng7SJBWuopMVp1SZyEBZqQo8S3WPgsAQZF NgOdjNeJnAg6P55X6xVVuDVntV3Zff8J6b3bR/0KNHHPJs70JUVCDARAGJE1aPhpgyEr KmxmiI9fU+9NGXQVCDCBXzSBFOYe3FaCBcPQaS4dfOu7pwp0+XvySNDBfUsf5uEoI42b LFOu62aGHZd5UaGi/PWAeLo5YW5XlSYp5ce36LT2knEXMJgxxfmMXsS7baWxqLhmWcYq GfhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779903841; x=1780508641; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5jsOvYN+IjkUqtcFrjB9v+3hxt6+i8EPkXKK3PasslY=; b=sb1eLMW30rf5YCZWdDpdIrcfXkTboqqopdboDXI4I7vjUChXkN2/U7oh6IN9cKJZzV w0KVGaivGUJtjNvE+9I0hnWyxVCqdSzh2d521tp/MAMjxKLWxUZy39cZWFw0HzZLAjpb yDGUkvAbSZ/uZqpJFHSAVzTxT+TTNhydK3Olh7/EBknXu18Bzjt8j50n2I1bUUF2diYs KAW8jYiTKindTO04ZkCwwdALBdJZd9sK7FwyDXlk6OP7ynRto014KBMqM23Rt+CDo03S W3dV7lH0Ycl8200YWgZkuzC/AHbDfReQeTtIioOWJudMXtY06hp+ckua3vqAVnxOSxSV 7yfg== X-Gm-Message-State: AOJu0Yx88btxYDwv5//HWOtnbNYH97eJ7Lw39VC+czdCNuPiaBVEwqZJ LyWi0QA1+kBm4GI34IrgYyTwszj6P8snEMxUt8f0Vd00xQwhoy+tUyc4 X-Gm-Gg: Acq92OGYjP1ZGzHxN71RzOYRs3ZyJ0QzNP44/SkzN63wIViNvyni7pURTBe6QI6n7iK +DGcwk6oR0CV4z1bY380fnB+axerNzd7M4DgFNzCnNvGE82pLqVnmMkHhC53vk+Ukg66ZjjHh2G t5TQ4uNJXxpesrxGlgJdY/76ovG0J/kxmH/bqG1PdktUZ166mVA72XpHyJoQ6XFwOJ7nmVEHqa4 mOGzIvAhgF3ME8s9A75BcoiNv+tO5k9fl3AACLnuEMzh1WMxQXCYtpLIn6OR3h07kvndGeatvTr UHls7YCSJ0IsUJ4IxWLFZpA3FV8uuNCbQHk6WMhcxW/fK6dNhSxwNDMch+1OLo10OJTyo1I6ggX Omct5+SoNtzO71tTOJSSUIF6cxrc7PHf4m5V+wr5pfb1zx4JL+ciwzmIBxSBFb4EErBcS8u+6y0 SiJey9aqMIU3Fwf4v7EhKdqd/1d1BVXGyrDxjjjMR0Q4rrtFCP9isuIg9t8A3gIPGO+QaZ/7oAc OeMVWxh3YAQBnQiJ9XgEw== X-Received: by 2002:a05:6871:a853:b0:43c:3678:1541 with SMTP id 586e51a60fabf-43c367821cbmr1801245fac.28.1779903841121; Wed, 27 May 2026 10:44:01 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-43b639725a5sm17321305fac.10.2026.05.27.10.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2026 10:44:00 -0700 (PDT) Date: Wed, 27 May 2026 12:43:58 -0500 From: Nathan Bossart To: Corey Huinker Cc: pgsql-hackers@postgresql.org Subject: Re: remove pg_spin_delay() from atomics code Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, May 27, 2026 at 02:37:56AM -0400, Corey Huinker wrote: > +1 > > The patch removes all 0 usages of pg_spin_delay, and all mentions of > pg_spin_delay. > > All the associated comments were removed, no more, no less. > > Deleted code is debugged code. Thanks for looking. FWIW I'm planning to wait until v20 opens for development before committing this. That's probably unnecessary, but I see no advantage to rushing. -- nathan