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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83900C678DB for ; Wed, 22 Feb 2023 02:40:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230424AbjBVCkQ (ORCPT ); Tue, 21 Feb 2023 21:40:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjBVCkQ (ORCPT ); Tue, 21 Feb 2023 21:40:16 -0500 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047012CC48; Tue, 21 Feb 2023 18:40:13 -0800 (PST) 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 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org 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. >>