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 X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98B2EC433B4 for ; Fri, 30 Apr 2021 14:56:39 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CB07C61042 for ; Fri, 30 Apr 2021 14:56:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB07C61042 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B3AFF6B006C; Fri, 30 Apr 2021 10:56:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AEB256B006E; Fri, 30 Apr 2021 10:56:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9B2D76B0070; Fri, 30 Apr 2021 10:56:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) by kanga.kvack.org (Postfix) with ESMTP id 7C04A6B006C for ; Fri, 30 Apr 2021 10:56:37 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 34851181AEF39 for ; Fri, 30 Apr 2021 14:56:37 +0000 (UTC) X-FDA: 78089334834.03.3B69EC3 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf04.hostedemail.com (Postfix) with ESMTP id 599453C7 for ; Fri, 30 Apr 2021 14:56:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=4H/NVeuEe9ZS7PaoKsofKAniVZEi0kya5rGXMaDHauc=; b=pHbQBF9F3UbmeAznbYPiU5w9wF lo28rlEnBS5t3Mgg91OL2XQHe5dwNLawETkCTGiHSxUS3n4azyv1Bla3b1kirtsp7QlmhgZckpZJb rpVK5RqVxXuJUUkvRt4BXWh/KhhCpXtbICJRaqYvnJhc5JjVs8OSCO+xGWzteCeKrlxU6qU6FD43c xrKPO4jkoKEXnde6kXASRPzLR7roTlGL21EU0TaHBO+pFW9s7PDG5VnlQTXoJ3XA9HM01mG9D9uAm FX+sJefwfkChy9hSMkeMuihp/OmyFIx0sija3uFLDnRwfWTMVltaGTfv5MhpyIeeHZolMAGyDiNs8 o7Cgl/Yw==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lcUYZ-00BAbx-BT; Fri, 30 Apr 2021 14:56:03 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH 0/8] Folio Prequel patches Date: Fri, 30 Apr 2021 15:55:41 +0100 Message-Id: <20210430145549.2662354-1-willy@infradead.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=pHbQBF9F; dmarc=none; spf=none (imf04.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-Stat-Signature: 9a565ca97m363js7ysa8ju6aztnhpytj X-Rspamd-Queue-Id: 599453C7 X-Rspamd-Server: rspam05 Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf04; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1619794592-677733 Content-Transfer-Encoding: quoted-printable 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: These patches have all been posted before and not picked up yet. I've built the folio patches on top of them; while they are not necessarily prerequisites in the conceptual sense, I'm not convinced that the folio patches will build without them. The nth_page patch is purely an efficiency question, while patch 5 ("Make compound_head const-preserving"= ) is required for the current implementation of page_folio(). Patch 8 ("Fix struct page layout on 32-bit systems") is required for the struct folio layout to match struct page layout on said 32-bit systems (arm, mips, ppc). They are on top of next-20210430 Matthew Wilcox (Oracle) (8): mm: Optimise nth_page for contiguous memmap mm: Make __dump_page static mm/debug: Factor PagePoisoned out of __dump_page mm/page_owner: Constify dump_page_owner mm: Make compound_head const-preserving mm: Constify get_pfnblock_flags_mask and get_pfnblock_migratetype mm: Constify page_count and page_ref_count mm: Fix struct page layout on 32-bit systems include/linux/mm.h | 4 ++++ include/linux/mm_types.h | 4 ++-- include/linux/mmdebug.h | 3 +-- include/linux/page-flags.h | 10 +++++----- include/linux/page_owner.h | 6 +++--- include/linux/page_ref.h | 4 ++-- include/linux/pageblock-flags.h | 2 +- include/net/page_pool.h | 12 +++++++++++- mm/debug.c | 25 +++++++------------------ mm/page_alloc.c | 16 ++++++++-------- mm/page_owner.c | 2 +- net/core/page_pool.c | 12 +++++++----- 12 files changed, 52 insertions(+), 48 deletions(-) --=20 2.30.2