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 595C2C433EF for ; Fri, 24 Dec 2021 06:23:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ADD4F6B0073; Fri, 24 Dec 2021 01:23:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A8D9E6B0075; Fri, 24 Dec 2021 01:23:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9A34E6B0078; Fri, 24 Dec 2021 01:23:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0042.hostedemail.com [216.40.44.42]) by kanga.kvack.org (Postfix) with ESMTP id 871CF6B0073 for ; Fri, 24 Dec 2021 01:23:03 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 3DA20180E4EFC for ; Fri, 24 Dec 2021 06:23:03 +0000 (UTC) X-FDA: 78951695046.07.32C1631 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf16.hostedemail.com (Postfix) with ESMTP id 5572A180031 for ; Fri, 24 Dec 2021 06:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=/K3wK83gm1vxGvQ2of6pgx0wWagBVp6MCfLQSf6er3g=; b=Ki0C8Up9yI82NGKofQWdL/i656 66EJ/ZzqJkg/NMxKRDp3oozHV26+eo88/sLu+i3og65b171io2eRNIlpXNBLLMwQHVXQ/oNj4P9qv NzVvMVeKI5M97yvvPAyLgK2dhSppfq2dI0KC3Gmt+JfAhMyn6ZvapS/Jc1r16kdsOVrh1Srcw7Q5+ f31b+VSwGvgRvNr16lky3gecLrmCeMhCqYgVJGPaqiD/pes5G18Lrm77W9kWnWDrYtWjAm2406hA9 rNnFKH/mZcDc94hCI/fEIFR14NMCjRcJiBBsS7xZ4H4zdPx/J3bQZ6UozNSz8mxlCbnEtTirss1XG a35lnxsQ==; Received: from p4fdb0b85.dip0.t-ipconnect.de ([79.219.11.133] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0dyb-00Dmy6-DQ; Fri, 24 Dec 2021 06:22:49 +0000 From: Christoph Hellwig To: Andrew Morton , Konrad Rzeszutek Wilk Cc: Hugh Dickins , Seth Jennings , Dan Streetman , Vitaly Wool , Matthew Wilcox , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: remove Xen tmem leftovers Date: Fri, 24 Dec 2021 07:22:33 +0100 Message-Id: <20211224062246.1258487-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Stat-Signature: uzojdk6481bbg3xn9ahmgiktkyejzwx4 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 5572A180031 Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=Ki0C8Up9; spf=none (imf16.hostedemail.com: domain of BATV+afcec93cc8ffef6ccdbc+6697+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+afcec93cc8ffef6ccdbc+6697+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none X-HE-Tag: 1640326982-790914 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: Hi all, since the remove of the Xen tmem driver in 2019, the cleancache hooks are entirely unused, as are large parts of frontswap. This series against linux-next (with the folio changes included) removes cleancaches, and cut= s down frontswap to the bits actually used by zswap. Diffstat: Documentation/vm/cleancache.rst | 296 --------------------------= ----- b/Documentation/vm/frontswap.rst | 31 --- b/Documentation/vm/index.rst | 1=20 b/MAINTAINERS | 7=20 b/arch/arm/configs/bcm2835_defconfig | 1=20 b/arch/arm/configs/qcom_defconfig | 1=20 b/arch/m68k/configs/amiga_defconfig | 1=20 b/arch/m68k/configs/apollo_defconfig | 1=20 b/arch/m68k/configs/atari_defconfig | 1=20 b/arch/m68k/configs/bvme6000_defconfig | 1=20 b/arch/m68k/configs/hp300_defconfig | 1=20 b/arch/m68k/configs/mac_defconfig | 1=20 b/arch/m68k/configs/multi_defconfig | 1=20 b/arch/m68k/configs/mvme147_defconfig | 1=20 b/arch/m68k/configs/mvme16x_defconfig | 1=20 b/arch/m68k/configs/q40_defconfig | 1=20 b/arch/m68k/configs/sun3_defconfig | 1=20 b/arch/m68k/configs/sun3x_defconfig | 1=20 b/arch/s390/configs/debug_defconfig | 1=20 b/arch/s390/configs/defconfig | 1=20 b/block/bdev.c | 5=20 b/fs/btrfs/extent_io.c | 10 - b/fs/btrfs/super.c | 2=20 b/fs/ext4/readpage.c | 6=20 b/fs/ext4/super.c | 3=20 b/fs/f2fs/data.c | 7=20 b/fs/mpage.c | 7=20 b/fs/ntfs3/ntfs_fs.h | 1=20 b/fs/ocfs2/super.c | 2=20 b/fs/super.c | 3=20 b/include/linux/frontswap.h | 35 --- b/include/linux/fs.h | 5=20 b/include/linux/shmem_fs.h | 3=20 b/include/linux/swapfile.h | 3=20 b/mm/Kconfig | 40 ---- b/mm/Makefile | 1=20 b/mm/filemap.c | 11 - b/mm/frontswap.c | 259 +-------------------------= - b/mm/shmem.c | 33 --- b/mm/swapfile.c | 90 ++------- b/mm/truncate.c | 15 - b/mm/zswap.c | 8=20 include/linux/cleancache.h | 124 ------------ mm/cleancache.c | 315 --------------------------= ------- 44 files changed, 65 insertions(+), 1274 deletions(-)