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 1vLXVc-002lqo-1w for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 02:01:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vLXVa-009oPF-33 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Nov 2025 02:01:23 +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.96) (envelope-from ) id 1vLXVa-009oP5-1y for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 02:01:22 +0000 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vLXVY-000HNF-21 for pgsql-hackers@lists.postgresql.org; Wed, 19 Nov 2025 02:01:22 +0000 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-4eddceccb89so67021651cf.0 for ; Tue, 18 Nov 2025 18:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763517678; x=1764122478; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2FQlP/mJ9bx8dqr6FXzfpUeMeTBO+NPVnGcIwSWD3FI=; b=jcfsJztgcSAZgDTWQE9fqiA439CwxQpu9DVwys6eAxjmjiYe0amcs/8DxyD7Wnv5YP sdEPB78nitpR+tbG7vLbVHOuzmxXCDeTtiHNsd8RX0L79ljoxv1qjAuuA/cH9xk8CwUG nSJTuco3xm1k9KayyMqRnHmIpc+p8pIhbYeeuqtP71hpagwpU8UWXpUyJgx1Nk+rLAyd Ae4hBz1d3UtG3JHtcxUJ5eORAqOKY+1Cbq8civoYL4S/sWGAIKr57cAphA69lO2qxZFz u9TYge3xeE5/shJIxUepgm0LgKRBs+iqnuYFPSp7PWBbfLjTTHNzIFz75FDYH3nsprIi 0o/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763517678; x=1764122478; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2FQlP/mJ9bx8dqr6FXzfpUeMeTBO+NPVnGcIwSWD3FI=; b=KEFwYLONOlpeHvEZ9ytLKOmBq9cKcuLbZO5WDYMS84CsN+Pq9RpFWhk4hSJoubp49k Y4COn1VegNtHv3pMRlEpy940gIsouSfLZT818QF6NEq1XrgRAhSRl+UtT1mxR/7A++lt vNxy6+v7Iaq35Izq2dKsgiFQNlqRzYsUXIx3MiwZWKp+mcsnQ2sIRFsjRo/E0ZXWRZ7s HZ/PCvOS29r5egR6LE9Afp+5ZomCH5IROhEyMkHRxsu99LMXg0Ue/W8Q/lZyZp4+/lUB xSflj0kAj/sOB2hx2R/gy5jZcIVQ/N0oIaOSyGoFywkWrx0ixI8GUN+9YhTdUa00DphZ oMQA== X-Forwarded-Encrypted: i=1; AJvYcCWXOaCekERJlB18NXcsujrnuVRKBBg+61YE0rEJTUd5qU5hbIx1MedMnh9e0nM75kZejngu1KCFi+UpXN0u@lists.postgresql.org X-Gm-Message-State: AOJu0YxBrQ7mndW5hovxWrUZJr1p6DEq2y9QQP1mHzg9oatfnOFp6ejV j/LIONuohnURZkxV2RbgfFDl2rkjyYVAX5yue1xKfmJd6Y56pKwSLRn/ X-Gm-Gg: ASbGnctPUms7Y/vIWUt5hC+w2OGThj4nEj5Wd6xbplmum80wurRK+Pf00qqHCTufhFw ULeHg1byiLHjzPF/4QW57l9w2GgrBKR0G/zBGfnSkynMJu6z0ZuP3rmcrG3vhNPNOZF9olHeifA 8hdrUQmsweCfk1Qui12BSULCVzQfMyJccMT6ANEGo5HNqopWeCjrEhAg/NBJ9yUCuy0a/MAsRrx aYecHlIC314lssxmfcrcavqXOhtY9DjzQCmAOmnOS8c96dIdYQ/PSBeMut05zv3N/Uj6V68esbQ LP6dRZyDRQfE16sj1Xes5Epm3eJImKMknjXw59QV8Eojy4gP75ceW5/ZNnM0fw9hFeUDTY6mmPR wBLobTyMnfw0WkMT/7MTIkvo0lqmOVO4IdKU52Vh9neJgW2p9DhZYDDVjweDbdHiHZQp9Hz+0Xn N2kj2eZY3mx3EH3wk5+1B8E/8QN7EVl38= X-Google-Smtp-Source: AGHT+IFktaK0gRFOVxEvQvA0wpjM2LRLhXrTfjct4LQpBYzA5VZJ5c0G5wLkg1okDVnuWmeoD0Bb5g== X-Received: by 2002:a05:622a:292:b0:4ee:1857:2673 with SMTP id d75a77b69052e-4ee18572a7bmr151563071cf.35.1763517678340; Tue, 18 Nov 2025 18:01:18 -0800 (PST) Received: from smtpclient.apple ([209.127.78.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-88286577cbesm126248586d6.46.2025.11.18.18.01.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2025 18:01:17 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: Checkpointer write combining From: Chao Li In-Reply-To: Date: Wed, 19 Nov 2025 10:00:40 +0800 Cc: Nazir Bilal Yavuz , PostgreSQL Hackers , Andres Freund Content-Transfer-Encoding: quoted-printable Message-Id: <4ECED07F-75F2-46D4-8F71-0B0DFA350777@gmail.com> References: <2FA0BAC7-5413-4ABD-94CA-4398FE77750D@gmail.com> <3FC2442D-1012-4079-A009-A0B8C45E092D@gmail.com> <6B520FA8-B805-4C0D-B8B9-202B3AF168A9@gmail.com> <0198DBB9-4A76-49E4-87F8-43D46DD0FD76@gmail.com> To: Melanie Plageman X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 19, 2025, at 02:49, Melanie Plageman = wrote: >=20 > I no longer remember why I made that patch WIP, so I've removed that > designation. I just reviewed 0007. It removes the second parameter "bool = skip_recently_used=E2=80=9D from SyncOneBuffer. The function is static = and is only called in one place with skip_recently_used=3Dtrue, thus = removing the parameter seems reasonable, and without considering pinned = buffer, the function is simplified a little bit. I only got a tiny comment: ``` + * We can make these check without taking the buffer = content lock so ```=20 As you changed =E2=80=9Cthis=E2=80=9D to =E2=80=9Cthese=E2=80=9D, = =E2=80=9Ccheck=E2=80=9D should be changed to =E2=80=9Cchecks=E2=80=9D = accordingly. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/