From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-a6-smtp.messagingengine.com (flow-a6-smtp.messagingengine.com [103.168.172.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32BB9356A34 for ; Mon, 12 Jan 2026 11:49:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768218597; cv=none; b=aY+TsEG9dRwSqAZ4p4WQ4LizNCDOnRx0MPEzreJyaVXsvT3QKoexslI89nwUPyE3BdJnMf1jNxR67HlkEQnUaikA5dg1i2AGck30e5XvuDwlLguk9nGkHJeaZd+affKDxpIbOmnoIegr7dDwVcwkd6Cd7y3E9NJ0G5q/BX3gdg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768218597; c=relaxed/simple; bh=P8Em7h7/nRWFRz/BDW/7j74Nz/aOuPaqLJzDSchIm+Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MpLmwDj5TMbeZtiQnvYRtWfIQZOvMaOiRJl3hRpjsGamnF+z6ZvUyiFdgbyOc0tqLhY9xWEw+b+y/+iwQUNeP41K/4aJjgAZ9HA0cc+nkNf6PGU4PBWyGQ88quG5C2raP1qyF12+ZI6trC0sf/IGes2K7Tw80gjlkmuIcAzoX7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name; spf=pass smtp.mailfrom=shutemov.name; dkim=pass (2048-bit key) header.d=shutemov.name header.i=@shutemov.name header.b=jHBJR/Cf; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Q6q1FAMo; arc=none smtp.client-ip=103.168.172.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shutemov.name Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shutemov.name header.i=@shutemov.name header.b="jHBJR/Cf"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Q6q1FAMo" Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailflow.phl.internal (Postfix) with ESMTP id 308C713802CD; Mon, 12 Jan 2026 06:49:54 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Mon, 12 Jan 2026 06:49:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1768218594; x= 1768225794; bh=lfr7rwNeBEfNjDqxxa6871mVoe7fZyHSOBc+ry0OW2A=; b=j HBJR/Cf+udrUA67+PqA41njitE3/YL3H6i+zFBmAhyryFgMw3BBwAsN/VR/Ckows Q/0yD0WTn7oKLe1SFLfZfMOg7Q7WuhEStq0bXEthvxJLFk343cgM/fHGm1pEtEh4 8OKSDV9Hus2lkdR7CHXnOp65F/8Qe4JjlGgYngOgPgvFcR/SkoZ848F9t23pZGdM qbgfZyGYmLJjPCgRM2ot+fe3QGo+4tKb/fXHJR6bGWaShj8Zopa/Eof3PMRPYstT 9ZsP7IQK0D5o9bnft3lDrMv7gmMob1Qv021HLW9YgSA0GZivuUNDEEtGkfprJd+j 5CK4FgGZ3pAKcxxiT2peg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1768218594; x=1768225794; bh=lfr7rwNeBEfNjDqxxa6871mVoe7fZyHSOBc +ry0OW2A=; b=Q6q1FAMotpBn2pmHYRbK04OWNmFLJ7qdsiolga5T4Fe0sh8/h8L hwFKOdMzb9abW5qDmq5wocy5gK+cOoyf7yps9Dl5pJoDNFVyDqFe1lCSNQrTjNnp 4paRMke5AVPtTmb0bLSvK0onAVweA6NjqUs0vYzIYmIvrM5QC7x5vYrPkoquf0VI h7tFXI5AaBbc+TRaIqCL1qVrkxA/Hp4DUxYNH3K8zOsr28kcvrO1zMc9KEDUBM6r VGN10xUFP7HBMHDJxcz2pQDhPKFp4Z6Gd7HhmiROd/v4+pgIghb5nzH/1GdXspnQ 1YValrA6fE9qbHzY5qwliDpuwyqqZOd1SaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduudejfeekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtrodttddtvdenucfhrhhomhepmfhirhihlhcu ufhhuhhtshgvmhgruhcuoehkihhrihhllhesshhhuhhtvghmohhvrdhnrghmvgeqnecugg ftrfgrthhtvghrnheptdegvdfftdehteelheetfedtjedvgeeltdeuhfdtleehgfdtjeeg jeejkedujedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepkhhirhhilhhlsehshhhuthgvmhhovhdrnhgrmhgvpdhnsggprhgtphhtthhopeeh vddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghhlrgguhihshhgvvhdrihhlhi grudeshhdqphgrrhhtnhgvrhhsrdgtohhmpdhrtghpthhtohepghhuohhhrghnjhhunhes hhhurgifvghirdgtohhmpdhrtghpthhtohepfigrnhhgkhgvfhgvnhhgrdifrghngheshh hurgifvghirdgtohhmpdhrtghpthhtohepfigvihihohhnghhjuhhnudeshhhurgifvghi rdgtohhmpdhrtghpthhtohephihushhonhhgphhinhhgsehhuhgrfigvihdrtghomhdprh gtphhtthhopehlvghijhhithgrnhhgsehhuhgrfigvihdrtghomhdprhgtphhtthhopegr rhhtvghmrdhkuhiiihhnsehhuhgrfigvihdrtghomhdprhgtphhtthhopehsthgvphgrnh hovhdrrghnrghtohhlhieshhhurgifvghirdgtohhmpdhrtghpthhtoheprghlvgigrghn uggvrhdrghhruhgsnhhikhhovheshhhurgifvghirdgtohhm X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Jan 2026 06:49:50 -0500 (EST) Date: Mon, 12 Jan 2026 11:49:45 +0000 From: Kiryl Shutsemau To: Gladyshev Ilya Cc: guohanjun@huawei.com, wangkefeng.wang@huawei.com, weiyongjun1@huawei.com, yusongping@huawei.com, leijitang@huawei.com, artem.kuzin@huawei.com, stepanov.anatoly@huawei.com, alexander.grubnikov@huawei.com, gorbunov.ivan@h-partners.com, akpm@linux-foundation.org, david@kernel.org, lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, vbabka@suse.cz, rppt@kernel.org, surenb@google.com, mhocko@suse.com, ziy@nvidia.com, harry.yoo@oracle.com, willy@infradead.org, yuzhao@google.com, baolin.wang@linux.alibaba.com, muchun.song@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/2] mm: improve folio refcount scalability Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jan 12, 2026 at 11:30:38AM +0300, Gladyshev Ilya wrote: > Gentle ping on this proposal I generally like the idea, but I would like to hear from folks who actually understand serialization. Also, do you have number for "a full CAS loop when the counter is approaching overflow" thing? -- Kiryl Shutsemau / Kirill A. Shutemov