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]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC3CCC636D7 for ; Wed, 22 Feb 2023 02:40:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4F1CD6B0074; Tue, 21 Feb 2023 21:40:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 47BA36B0075; Tue, 21 Feb 2023 21:40:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2F5816B0078; Tue, 21 Feb 2023 21:40:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 1B38C6B0074 for ; Tue, 21 Feb 2023 21:40:17 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id E2AFE804D8 for ; Wed, 22 Feb 2023 02:40:16 +0000 (UTC) X-FDA: 80493373632.16.9A9369D Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by imf10.hostedemail.com (Postfix) with ESMTP id 8D6ECC0009 for ; Wed, 22 Feb 2023 02:40:14 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=alibaba.com; spf=pass (imf10.hostedemail.com: domain of hsiangkao@linux.alibaba.com designates 115.124.30.118 as permitted sender) smtp.mailfrom=hsiangkao@linux.alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1677033615; 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; bh=vheMgIeyBmFp8M+KRFI7nxqQK7jpJFBeI07QhK/zr4A=; b=hHtygHrx83o9Jb6IHZQiHs8T6KL7s6FMd/eTB1af6cs83reld+ah2BiSbthWdwrI8kpXDf ZSMlS1KPvskav1Zt8upxEcoPIcujUoGKQDFdW/uM6VhKGeMA6M6ypa6N4Baw88eGTLXo0/ tdnND1t/IbnhMt53v6T933gdKoD/m2k= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=alibaba.com; spf=pass (imf10.hostedemail.com: domain of hsiangkao@linux.alibaba.com designates 115.124.30.118 as permitted sender) smtp.mailfrom=hsiangkao@linux.alibaba.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677033615; a=rsa-sha256; cv=none; b=0gbxVOD5/0xl3i8dnIAzW15RE+jTDhdqSuy0de1SOWO7ztcxK9f3VE1ygK6K/FLLExlYhJ obnu0X0juxYVZ55ym0T5MK88O/94RK1i6/4bLf6H5tEqMYGQDBY1EvGOpNDvV59Ieij/bC KjGANgqOehF2+ioWcy+nQl3hi+N9114= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R951e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VcEfCHA_1677033609; Received: from 30.97.49.34(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VcEfCHA_1677033609) by smtp.aliyun-inc.com; Wed, 22 Feb 2023 10:40:10 +0800 Message-ID: Date: Wed, 22 Feb 2023 10:40:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [LSF/MM/BPF TOPIC] State Of The Page To: Yang Shi , Mel Gorman Cc: Matthew Wilcox , lsf-pc@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-nvme@lists.infradead.org, bpf@vger.kernel.org References: <8448beac-a119-330d-a2af-fc3531bdb930@linux.alibaba.com> From: Gao Xiang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 8D6ECC0009 X-Stat-Signature: 53azhthoonh5yfyums94yhdwqkddgnjj X-Rspam-User: X-HE-Tag: 1677033614-477898 X-HE-Meta: U2FsdGVkX193EwsZZu3embZPLvXuPLxtUVYf7wuiAkG4r38uIZXRZrIpbVgBTM+zRq4la2YATOE7gcrp8STGtOXWvqxicIdAJbXL8yMT6xNThA5/L3WS1OC4FFya0LVzzp3x0hAj+02DYZlcazt6q4F4V8PmT7laYZDlcNwE4JNUtL66wO7drPcmLbhoDJ+3g6VBfmdGMRJjEetxdZUquCh4+b39dZVHuuwYQBynlrZFHG2p0TOgbmr4QZlnmQHfeg7N7OfbxCRlqj1YmyREAel7d0BPOrtd5Zm7/gsxlZDj1r5TDDKcYCMasUZ9rI7DiHC8/cVNeiKmPp21SY8sCT2QLPM7DMPoGxZYg9BxW5G1GJZQ35WGxi6/pmzeh38WqO7H6VCgWL88/oA9bOkwRvtjFNTnT4DSe/2zCLYQI2rYUM7rcEGlaBZH87WDz1Un2lKGOod9iStFXiIQqyXskut7wPw+NmTjLE+uAxRnDSffiYR7Puo9Q2hFd20KmC2mJ3aHU2udEunpGyZJIfcCffz21jFGBDItX7EMz3Mydp+3PQsw792QokDFy0YJ1ED4Ar+jp9rXPotG/mu5p79YWIk+R6f+Or06RzjbwCpAvrDgmFy0gQgA6kXChEzwO5OCgV832i0SIZOTYv2kLHLes7EF3qpx2Uu2kE/hmr1OD/k7f3+5oFa7Hua5T9dn8mKG7QajSKPmZXGhLnbL8uiT/15G5NwRvnIXyVqu1QKdd1sYsphnfcoNbCXSagNQQq+i9R7X5N9LratqXmrrMK8ybgw4Ly4AHmZR3M+6YKY0ZKNKQFwY/88IqRvo/VYxQyMPKqLL+5UA+gLaBAxSal+NknUwR1NY8mz75arfqM2+eXr/G1r9FXIFDa+ekJxuj9WpllpeTmmcNMBlNcLtME5l1burCI5tmE627jfG2JleL1vf5gfQ0lRPhAXMjstVkOylFAdweGl5RV55GOEDJzk MWxyhuh/ db57a1C06atsFNxnePSg6jndqIoD9iM3FlBbxOFOgPc/vH2SGXgwA5nPWBNRgEY1mMb+1u6GKypxFmb9dCz4EUSyXz0m5Ip8TYKi5aSuSrtnIdLlVPWUQpaLNi57D1lPC9X5/dGNWa/eEztyXNlxpkPSivQP0M70QOG5qrzGB53VJeTYzhUKYEg6gomwFJx4lqTK53fXtosSH7yy+NPAP+HQPg4kUueSrXtASqtLLR2vcTGwRSCUQT+Qtcc4gVwJz2xssKp+R+7TInNsg8byJgFubnXeXY0t2MFrJhFL7tZ936pPLr3O8/DxuJbKS86DU6urBqVlyKj9tsCnG593wHKqvQb7a7YhkZbLRRwwT4UWLUUE= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 2023/2/22 03:09, Yang Shi wrote: > On Tue, Feb 21, 2023 at 10:08 AM Gao Xiang wrote: >> >> >> >> On 2023/1/27 00:40, Matthew Wilcox wrote: >>> I'd like to do another session on how the struct page dismemberment >>> is going and what remains to be done. Given how widely struct page is >>> used, I think there will be interest from more than just MM, so I'd >>> suggest a plenary session. >>> >>> If I were hosting this session today, topics would include: >>> >>> Splitting out users: >>> >>> - slab (done!) >>> - netmem (in progress) >>> - hugetlb (in akpm) >>> - tail pages (in akpm) >>> - page tables >>> - ZONE_DEVICE >>> >>> Users that really should have their own types: >>> >>> - zsmalloc >>> - bootmem >>> - percpu >>> - buddy >>> - vmalloc >>> >>> Converting filesystems to folios: >>> >>> - XFS (done) >>> - AFS (done) >>> - NFS (in progress) >>> - ext4 (in progress) >>> - f2fs (in progress) >>> - ... others? >>> >>> Unresolved challenges: >>> >>> - mapcount >>> - AnonExclusive >>> - Splitting anon & file folios apart >>> - Removing PG_error & PG_private >> >> I'm interested in this topic too, also I'd like to get some idea of the >> future of the page dismemberment timeline so that I can have time to keep >> the pace with it since some embedded use cases like Android are >> memory-sensitive all the time. >> >> Minor, it seems some apis still use ->lru field to chain bulk pages, >> perhaps it needs some changes as well: >> https://lore.kernel.org/r/20221222124412.rpnl2vojnx7izoow@techsingularity.net >> https://lore.kernel.org/r/20230214190221.1156876-2-shy828301@gmail.com > > The dm-crypt patches don't use list anymore. The bulk allocator still > supports the list version, but so far there is no user, so it may be > gone soon. Thanks, it's just a detailed minor stuff relating to page->lru. Currently I'm no rush to evaluate/use it. > >> >> Thanks, >> Gao Xiang >> >>> >>> This will probably all change before May. >>> >>> I'd like to nominate Vishal Moola & Sidhartha Kumar as invitees based on >>> their work to convert various functions from pages to folios. >>