From patchwork Mon Jan 27 23:58:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yosry Ahmed X-Patchwork-Id: 13951915 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 71743C02188 for ; Mon, 27 Jan 2025 23:58:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EF7812801D1; Mon, 27 Jan 2025 18:58:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EA7472801D0; Mon, 27 Jan 2025 18:58:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D48322801D1; Mon, 27 Jan 2025 18:58:21 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id B40EC2801D0 for ; Mon, 27 Jan 2025 18:58:21 -0500 (EST) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 582F180771 for ; Mon, 27 Jan 2025 23:58:21 +0000 (UTC) X-FDA: 83054898402.21.987566F Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) by imf05.hostedemail.com (Postfix) with ESMTP id 7BDA7100013 for ; Mon, 27 Jan 2025 23:58:19 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=Z0RWBRk1; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf05.hostedemail.com: domain of yosry.ahmed@linux.dev designates 95.215.58.183 as permitted sender) smtp.mailfrom=yosry.ahmed@linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738022299; a=rsa-sha256; cv=none; b=F0rmZnes+tnlSS7SRQaSFHHb9U7D8kImO7J7YbPJ53j3WiVOmzLl2XnJmy0rYF+nDkZh7u KHm0ru3wdFqH7ZIcf0CWAfFYb+Dx8tTLpEPtwH5l3EF2nfpn/wWQXKQA53F84TtC4MsPBM 9WMVg0GqC1q9WWc5hP8HAvf9gQ4/4ME= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=Z0RWBRk1; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf05.hostedemail.com: domain of yosry.ahmed@linux.dev designates 95.215.58.183 as permitted sender) smtp.mailfrom=yosry.ahmed@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1738022299; 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-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=EdcGtkZze7tE+pVbcTlvwrlzFbSwx6R7VoVNVkfrHss=; b=7zpvQVkRGDWXFLamQlzVj12e5WR0GurcGHQQyqryl79rkvVRz4pHVN1T6Vq/UN012+aPW3 QsGQLVwGr5S2Zx2P79TJlfANMy0jZ/ZKLYJ1OH66nvDm3uB3P8Xu3Wk7QMqSt/RRvJ55bS JtXmdxavUZGbHx7d9dNCCnAIuz4HcfM= Date: Mon, 27 Jan 2025 23:58:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1738022297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=EdcGtkZze7tE+pVbcTlvwrlzFbSwx6R7VoVNVkfrHss=; b=Z0RWBRk1qCHt/pyblBGpbatZZ5gpJ8JvlY/Ad7eSnhnjIv+ydvjvBFRe34x+eU+h9VRE9D KIwY16UdTJ9O/d8MowNdXtOoF4ohR/Ybs78VJ68dweqrJIiYI5Kger2aa8DhMIQHerGhxJ VTs0Lbin9AUfzHmA8RGK3OBOxTISIXw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yosry Ahmed To: Andrew Morton Cc: Vitaly Wool , Miaohe Lin , Johannes Weiner , Nhat Pham , Chengming Zhou , Huacai Chen , WANG Xuerui , linux-mm@kvack.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev Subject: [PATCH 0/2] mm: zswap: deprecate zbud and remove z3fold Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Migadu-Flow: FLOW_OUT X-Rspam-User: X-Rspamd-Queue-Id: 7BDA7100013 X-Rspamd-Server: rspam10 X-Stat-Signature: 6w6mas4ganshz34gbsen3wqtci69iakf X-HE-Tag: 1738022299-847767 X-HE-Meta: U2FsdGVkX1/rs2S2Po9VMCvuuno0L6uMoTidxo8vFK5pVgvkXCD78wShVJcU3PFWXRqq43wO5GOp4+k90Ks6LXRlte1MLN1NX4lWr7iuDQgO2rq8hBCPb2FZksvQJDBXbL6oByWh0v/pzVxJZb74ziXH7/JkUisgLd9eUcV5i9wzrjdWElPG9dM4LHpp2syK2yH4y4148NdbhOKLKPnwCeWsbVaQIKmAeNRBJ8EcTUesRh1k1E9ktkTjMfvR5ko7U2maldcZQ9GcI20E5O9lj+PRkdJDgIUHiDli0VUuoploLwm7UpMJ/CIAFlDJE9F288jbpNIWjvcYjJ4GMjBYoEVRslVSmODD3nhXvjW/VpDZqnxbmP3wLdqAMg3QajsUFv85wY/3DNHYXgKwOJ4EqXZBjEPVsGREyPxv3HuSEvxHhjKFCMF17HhtCeYrlgFBsPNPOJCBZ7kqYXcU+tZWYogswh4jDpng3ItMpwxAldGQNjcCLvaarPNxVPnnXJ2a+AS4rIVs2x8PQ5naLGUFdxZ6m2JlB3AXXVofHlZ+twMfWaDdSca4gdTuNMDJGLlawKszL7CqG/woa9TOLqSwTNJpmdfI6KcSYAjBiCh80moAk/vGC7rWdD5BFr6SinE71/U+g7tpQ8EI9IqHr7ZuCv3QQzfwwCckmLJCeXtdCuPnlL0gcuN6PNLckdXsHqcHNvzYaFGSMQ3u1LVKPrdj/OognXD9+k0cRUBGul5tAILAau3SLjLUo9XGyLIZW65Npv4dRQeaNLUq+HaMXO+BtKcP6YQ+ecYEv36bNWXee2D2btUZSYEeiUJYDteMRhOX/wvaxFqurt6/171gZSiVHmsB1SQj9oVOO0woXzBe1PfuF6EVbMEpfg9auKroteIPNykxroIwXdCG2rAseEZbPhjky3NloLric1ALDXrZSlkMER7fVwXDaAaExXcNhQOO3oTHhd02nAMTqdXNBlm wxI0QAVE JiUGAxYiswOyupet02xgeZfrYpX/bBvWbqW4T4KPiO0b2Y8/Up8kwE7Ckqc2n/uQ2KCkzkH48F/nupL+1XsoCdxrzpPjrocPEAc3XkccpROz4ckshB9uykJ9Zo55EFo63rJ8iwRkbzw1AavqdHKdPT3pWQQJv2RQDoexRPm7+EOl6AQE/1IX+ABUV/oCmH0NmehhFC7KMPBTmwN1GfsJ4YZ32WQ== 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: List-Subscribe: List-Unsubscribe: After 2 cycles of deprecating z3fold, remove it and mark zbud as deprecated for removal next. It was initially thought that zbud cannot be removed because it has no dependency on CONFIG_MMU while zsmalloc does, but CONFIG_SWAP depends on CONFIG_MMU anyway. Yosry Ahmed (2): mm: zbud: deprecate CONFIG_ZBUD mm: z3fold: remove z3fold CREDITS | 1 + Documentation/mm/index.rst | 1 - Documentation/mm/z3fold.rst | 28 - Documentation/translations/zh_CN/mm/index.rst | 1 - .../translations/zh_CN/mm/z3fold.rst | 31 - MAINTAINERS | 7 - arch/loongarch/configs/loongson3_defconfig | 3 +- mm/Kconfig | 47 +- mm/Makefile | 1 - mm/z3fold.c | 1447 ----------------- 10 files changed, 17 insertions(+), 1550 deletions(-) delete mode 100644 Documentation/mm/z3fold.rst delete mode 100644 Documentation/translations/zh_CN/mm/z3fold.rst delete mode 100644 mm/z3fold.c