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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDE26C636D7 for ; Tue, 21 Feb 2023 18:09:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dWF69Hb1Dc65UFbhrpqNHjBcuMqXwNL6TZzfT+P6tLI=; b=2vMwugHBQUH4qWWxfADwfrhwz7 vNHiwMSuAuyYNFYxGADr7xY7XYiDfnTFonNahl0B/Ccw9S0QoCshP+SLzS7mVRzkukgiAJbZ7WTBn IKvuMy+/Nj+aWe0luaDJ2AMD8eBcmg4/A3yPE3eqsCxHj2wzQBMBt1NeP+Wiq1QtvKLVnidy6EZHw d3vQPP01q6ncoSgUvvXspefjXF/CNMv/rlG9DQV6kvSXkYvjlWDdGu1PZyvFImM6LBSamG40t52s5 WZ8Kdz6/PWan0Ric+yL7T/JcbTMJZBHfieNaGQuFRbH2fpwc9xPaWO8mHU7Ro9uDPsV216h+hN+t7 xu5OTXcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUX4d-009IzX-9Q; Tue, 21 Feb 2023 18:09:07 +0000 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUX4B-009IfG-10 for linux-nvme@lists.infradead.org; Tue, 21 Feb 2023 18:08:41 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R531e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VcDHv8z_1677002908; Received: from 30.120.135.227(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VcDHv8z_1677002908) by smtp.aliyun-inc.com; Wed, 22 Feb 2023 02:08:30 +0800 Message-ID: <8448beac-a119-330d-a2af-fc3531bdb930@linux.alibaba.com> Date: Wed, 22 Feb 2023 02:08:28 +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: Matthew Wilcox , lsf-pc@lists.linux-foundation.org Cc: 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: From: Gao Xiang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230221_100839_291522_C00C8861 X-CRM114-Status: GOOD ( 14.45 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org 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 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.