From patchwork Tue Aug 15 03:26:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13353483 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 CC00DEB64DD for ; Tue, 15 Aug 2023 03:27:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6386290001E; Mon, 14 Aug 2023 23:27:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E8A090000B; Mon, 14 Aug 2023 23:27:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4B0C390001E; Mon, 14 Aug 2023 23:27:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3E09490000B for ; Mon, 14 Aug 2023 23:27:13 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 066F4A09F3 for ; Tue, 15 Aug 2023 03:27:13 +0000 (UTC) X-FDA: 81124903146.18.19CE8B9 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf17.hostedemail.com (Postfix) with ESMTP id 73C8640014 for ; Tue, 15 Aug 2023 03:27:11 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=gNrXRLkr; dmarc=none; spf=none (imf17.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692070031; a=rsa-sha256; cv=none; b=qSm2KD3sKwCzK/kqpLMS7w5C1JhXb+zPzyqHf69TMLDQLRz8Ok+KIBySGIhY6+b6JYl8Ly P0GWx+Q6X8wqdJoc6JO6+1Vz2rE/wvjJnkS95V0ufWmeeXLvDZj47HcsaTglsg288hPy8T Ga4ffVLwI2AzgMvFZ3XBQtkWtKbNK7M= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=gNrXRLkr; dmarc=none; spf=none (imf17.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692070031; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=woamUMUNIK5HdnapTnYhYX9EDeSRN8D18S/wD2N6OZU=; b=qj+zlnFeoCZPko3COgOzeQJme/jH2eHp34mZeR7eCVINYS3acLYWes9uVAcosVMdOB911V 4YYB+oYNDQLVbkPa9jsJluIxpGY730m9Y6YE1w9VOMxtVpkj8ssaZsphiChILKvAmph1pu ZPOlW8+yuQ2nChLnvuQGwT79LO3qs6I= 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=woamUMUNIK5HdnapTnYhYX9EDeSRN8D18S/wD2N6OZU=; b=gNrXRLkr4wET0rhCYVE+FJs4b5 QFoH6Cu6xcJleijFYdTkM7dmCgTa4XfoBytk6MpDxIyz08o2A/8RkZH3gryu3nlbwOLZ26DYIneIl Ua7Tjmx8OwFTKSEwWFq9X8TGP69WA8TZ7zggU2dHpke4M25+6x4L6L6sEnvC8spUrXQUFd4F+HznJ dDspLp8Z0n9VRNRzz4fAzr1IfWHZeXiLVItSYmu0YnFA/Zo7YqUcmOAuaL0yV8HxUjaVVLEgiM4kD smkOaI2oD/jLJ/jrbRqjBbTG2M0IXrYagiHv2JM4jLwuRAzwVDIf9lohaVPWGr8vyP3i69dBlanq/ /BY1MD2g==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qVkhm-005qaP-1g; Tue, 15 Aug 2023 03:26:50 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , Jens Axboe , io-uring@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/9] Remove _folio_dtor and _folio_order Date: Tue, 15 Aug 2023 04:26:36 +0100 Message-Id: <20230815032645.1393700-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 73C8640014 X-Stat-Signature: satfqmsf4jcefysan9nec4jbighfhzmu X-HE-Tag: 1692070031-804243 X-HE-Meta: U2FsdGVkX1/5WgzdX+8MmvVyy9ZZWPbHpAv9ZYhQuuZDUXugAnzQY1ws3V8vpoLmhDuA7fwuUqJyA3biXOfys41UyV7xFNH4WZbqETSTQAbKJj37gjZl696azPR/U+MHrhCSQ/qm0tKru9h5L3Okum4KWcxYklF5LOXg31dN9rwDsznRBNj2fs4U5dM6nfz6rCrEyoe+Z4ixxdAaoXRrGt8bV3dPEep83rLA6dqiyi10z1psH3wxI8RNdyQOghj/oXUMD5TTmCo1trEghB4Gca31B23c6Y8Po3INmQzRagK8o4UQII0r1Ik4kchNl+KcIHhKtx7JEwpAGg80zfpBJZXIf1PV7iieDotZgN1DT4lvL8F16NkZVz3NTA/4A3K08JdgVzRCFpE0ytvMHl1ncGjlCuXN0jpmwk3fvubNjxQoztCBVomeLj/iofwgdvX9bvAQS+BdrurgGbx0lBaxaO7Pb74lCp1Uek6D+GwTvWF3kKiwOk7IDii8csm7H7KCWpdeNyPdRvARJPKio2/N1yS+fruKASRCRjjTkdkoRXFdoNYDVTUOF+2R7g8mMDYSdtXegoQ3mVqpmzkJbPGzLLtKrXb2+rBg39Y/BFisX9PCbXFsYEnHldIi1TMt8QWaN+/+hSFK/QNjDZCIcYldXl2ky0EqVBc/sfwXU4Iw6ZGoXIIQFN9T20WjmOFhYXB2HLAmAfomHsq8UCFFhDpuCGkxqOi9og85neKe3ubBOfwAwdRvcuKoFT04pH1ccashwuu5rZD+vwAiC/6KJMZN+nXIaTPjnZZERqqu948Pw6Uj6xfzlmwOHTchl6PudQ5g1YdylAXZBHUVgFOP5S6HlWGBCNWwsryQO75fc8l5uLYWim9TEBTcpsMYYs84WWIaFQ5lCBzq/VzAy5PZjna7nVqwb9GXAJdzhpAcbVvoji3n9kU13udeeoK8ov5i3ucPAlilqRMo5URW/8g6nxq m9UCIc0p dKD+5O/GcOORTDmoA2ZbNlY4WbrTh6Ih0DSMViW38tzgsZ49+zVjZIKQgcXogZuh4hmav5KOIoWAUBKdfQQhOHy1HdjgajGx3BUlL7YMF+2Mn5rNQ1J7ipTtBpn72rkj7/oKJWyls3fnGm9zQ0itasjfk5R1v02aPLc04 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: This started out as "I should remove the indirect function call from freeing compound pages" and turned into "I can free up some space in struct folio". So ... what am I bid for the new contents of this word in the first tail page? Matthew Wilcox (Oracle) (9): io_uring: Stop calling free_compound_page() mm: Call the hugetlb destructor directly mm: Call free_transhuge_folio() directly from destroy_large_folio() mm: Make free_compound_page() static mm: Remove free_compound_page() mm: Remove HUGETLB_PAGE_DTOR mm: Add deferred_list page flag mm: Rearrange page flags mm: Free up a word in the first tail page .../admin-guide/kdump/vmcoreinfo.rst | 14 +--- include/linux/huge_mm.h | 2 +- include/linux/hugetlb.h | 3 +- include/linux/mm.h | 39 ++-------- include/linux/mm_types.h | 5 +- include/linux/page-flags.h | 41 +++++++--- io_uring/io_uring.c | 6 +- io_uring/kbuf.c | 6 +- kernel/crash_core.c | 4 +- mm/huge_memory.c | 8 +- mm/hugetlb.c | 75 +++++-------------- mm/internal.h | 3 +- mm/page_alloc.c | 35 +++------ 13 files changed, 81 insertions(+), 160 deletions(-)