From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E0631CD4F4A for ; Mon, 18 May 2026 21:51:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0B16E6B0005; Mon, 18 May 2026 17:51:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 063196B0088; Mon, 18 May 2026 17:51:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EB9D76B008C; Mon, 18 May 2026 17:51:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id D9E326B0005 for ; Mon, 18 May 2026 17:51:40 -0400 (EDT) Received: from smtpin09.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 7E2A7C3245 for ; Mon, 18 May 2026 21:51:40 +0000 (UTC) X-FDA: 84781887960.09.61D268E Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by imf11.hostedemail.com (Postfix) with ESMTP id B0ECD4000D for ; Mon, 18 May 2026 21:51:38 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=V5gIlmRp; spf=pass (imf11.hostedemail.com: domain of akpm@linux-foundation.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1779141098; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Ui35YCdMhextVXvfGs+RH2GaTpNCHxdrnIA0sTujsfc=; b=6ZE/MXWrOwQdPKbTLRnlIcxuT54KBGA7i7tUyn//3Nk4q4pWiZUuL85P2gHvcbLPiyj+5F Uc5qBYOSaNU6teoMIIw1jFmmyBLrY6X3HyRiFP05KeWXIdbg+t1TKLwijFYGk2pWMPP8ow wX8IO80buAAa7KXtf01Ygaczkj/R2G0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1779141098; a=rsa-sha256; cv=none; b=KxuknrpC94sh/P9DCxVIstLMC9wjIRodrDxLAHSnEU1t3qKEqwXzTzcCL0NMco6Uc6/DoQ zMRb6nvuqY76Yg2iAohezTIvcZVag859NFPTBrwIeoTedaZHjXEJHNK7cpc8in0kh1EjWY f0kXsKYi0rkrwdvISC4EpWoHkOQc/vc= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=V5gIlmRp; spf=pass (imf11.hostedemail.com: domain of akpm@linux-foundation.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id B02BF43A50; Mon, 18 May 2026 21:51:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B98F4C2BCB7; Mon, 18 May 2026 21:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1779141097; bh=aY0k4+s5LAO5ZCe+6y3wGxrecziQGleYEmIT2C7RsAc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V5gIlmRpxo83oYESxmn2FUqFW16HCxf5eNhXcuYyPf+PrEAtWC3zDMa1wNbKl8Tg9 arCFDZ4fP3F18zRuYhePFadE6sbHei0gF577GFhwrtn2saa2mVJuiTANJNlu7s93dL /Ld3d0fEdIJ8N/odDjcPG5/nBV1IMMn8Ox9N0WKg= Date: Mon, 18 May 2026 14:51:36 -0700 From: Andrew Morton To: Kairui Song Cc: kasong@tencent.com, linux-mm@kvack.org, David Hildenbrand , Zi Yan , Baolin Wang , Barry Song , Hugh Dickins , Chris Li , Kemeng Shi , Nhat Pham , Baoquan He , Johannes Weiner , Youngjun Park , Chengming Zhou , Roman Gushchin , Shakeel Butt , Muchun Song , Usama Arif , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Lorenzo Stoakes , Yosry Ahmed , Qi Zheng , Roman Gushchin Subject: Re: [PATCH v5 00/12] mm, swap: swap table phase IV: unify allocation and reduce static metadata Message-Id: <20260518145136.8541d74ab64d3d42d9f1a4ce@linux-foundation.org> In-Reply-To: References: <20260517-swap-table-p4-v5-0-88ae43e064c7@tencent.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: B0ECD4000D X-Rspam-User: X-Stat-Signature: mjr315ohsdji3z1zmzeudrj1y3kqh8gr X-HE-Tag: 1779141098-532851 X-HE-Meta: U2FsdGVkX19dtxM3w9IKqBUEabu3Tbc/5nuRbAdqx//FRfYSPXjQjXqdwnAvQQkjJX0RLD+1Ag5VM5+Cn+byEqaDU7UDwE98QVoHoh+X6d40mQU9ssmEe8jyePadPOHC7m1PzzvXWwBX0grxH4LZekQHdOtT4PatqtnbdiCSbxnjHCNOzIBNtOMphjlds3KDwKCpJuWZqeCkAS/ULu8zEYpwxGzps059Wy8Bx5COCJoYybCLHkbzA9CXRd3fP0E3DYkD6BPAJpg5MTFFckgc0Cn5SDXLUU+wXSXvPWH5/yBxp6NejUDaQRG2fBQ1u7xtQSbk352TNYxogM3azKcjN3oXwc7JdU9so8mlhb5iOG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ack.org List-ID: List-Subscribe: List-Unsubscribe: On Tue, 19 May 2026 02:11:35 +0800 Kairui Song wrote: > On Sun, May 17, 2026 at 11:40 PM Kairui Song via B4 Relay > wrote: > > > > From: Kairui Song > > > > This series unifies the allocation and charging of anon and shmem swap > > in folios, provides better synchronization, consolidates the metadata > > management, hence dropping the static array and map, and improves the > > performance. The static metadata overhead is now close to zero, and > > workload performance is slightly improved. > > > > Sashiko only gave a warning this time (and it's false positive): Sashiko behaved unusually. "Note: The format of this report is altered due to recitation restrictions. Direct quotes from the original patch are omitted, and a free-form summary is provided instead.". https://sashiko.dev/#/patchset/20260517-swap-table-p4-v5-0-88ae43e064c7@tencent.com Roman, what's that all about? Thanks, I'll add this to mm-new for some testing. Review is thin at this time, but we have a large and dedicated band of swap maintainers, so I'm sure that will change ;) I understand that there are some architectural/directional differences amongst the team (or there used to be), so please don't be shy about weighing in if you think we should be taking things in a different direction.