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 26798C48BC4 for ; Fri, 23 Feb 2024 06:45:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A5E446B006E; Fri, 23 Feb 2024 01:45:58 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A0DB96B0071; Fri, 23 Feb 2024 01:45:58 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D5C16B0072; Fri, 23 Feb 2024 01:45:58 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 79D1E6B006E for ; Fri, 23 Feb 2024 01:45:58 -0500 (EST) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 2D8321A1013 for ; Fri, 23 Feb 2024 06:45:58 +0000 (UTC) X-FDA: 81822133596.17.C8B8198 Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by imf02.hostedemail.com (Postfix) with ESMTP id CF8DF8000D for ; Fri, 23 Feb 2024 06:45:55 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=none; spf=pass (imf02.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.191 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708670756; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5Y13re6QkqnM6wT2SlWHU3CX366bHr7B0rz2JwxQdzY=; b=HWFXADl/PdaxkaizC2XfV4HSJs+BMsIZ7vGVm7A80Qh/JGCoBvRCCJFA41W8czszYosW5h lRChMeaxpZ0atziNiv1QWnSsuCOI6bXuphXzuaAFgEadI2fh2THBOyRDvGURfEnOZ8CUKJ nJjsqRWzkoFK9q2fHcGtmRLnAq2JckQ= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708670756; a=rsa-sha256; cv=none; b=qXCc8QG5WU1BuY0wl/sGnjPZMbvJ0Xw3cTtGnTqVgD5GydCsOvZX4qPJHNOGqThDDltvaN bzGuucHgI0qxSQy2hhfQvY25XXS2UujruLm+GoR2dXuFkojvKikK75GUrSZiS3t84SkgTs 3vTJDojawlRFteHt4eNJnToZYbLlY7A= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=none; spf=pass (imf02.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.191 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Th0lG1SVTz1FKWW; Fri, 23 Feb 2024 14:40:58 +0800 (CST) Received: from dggpemm100001.china.huawei.com (unknown [7.185.36.93]) by mail.maildlp.com (Postfix) with ESMTPS id E2B27140485; Fri, 23 Feb 2024 14:45:51 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 23 Feb 2024 14:45:51 +0800 Message-ID: Date: Fri, 23 Feb 2024 14:45:50 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/5] mm: unify default compressor algorithm for zram/zswap Content-Language: en-US To: Sergey Senozhatsky CC: Johannes Weiner , Yosry Ahmed , Nhat Pham , Andrew Morton , Chengming Zhou , Huacai Chen , Minchan Kim , , References: <20240223035548.2591882-1-wangkefeng.wang@huawei.com> <20240223045132.GL11472@google.com> From: Kefeng Wang In-Reply-To: <20240223045132.GL11472@google.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm100001.china.huawei.com (7.185.36.93) X-Stat-Signature: 3jps77nbn7iy8rdgyzwc4n9ykwgdt11y X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: CF8DF8000D X-Rspam-User: X-HE-Tag: 1708670755-402069 X-HE-Meta: U2FsdGVkX18MDjlHqrT9MtnKDLrS0thjPai8BbwXupBJh2z5JL8KqAr0pHI0Ocvi2jneNrsGTrXsRlMF9+aP50q9AOTyEwf4nBGH3ArBwkB/ivA+mH1GvmrSKtVdxJLDPLCsSKSoi7iUSKUfoQ9aVO3FEGJr94dGa4iHOS8NaybLF9asRu0rhL09zylcDkD0aqQrbVEaEQoMAXYyZrCnpKz2iqQvwzt4k59bBjYB3pJw0ff9jv8be+2PNNjzHvobESM5LWfTtVqYocEPDRUueCXD7xHVJGG2gkmaF7fMBMUASLOMXOJDEdSagIemdQUx0yhQszfihnZTdztS3VLW4bNVuy26kck7crrR/IcnX1imSAn9De7M8z7kDF6pWDZUYX6rrxV+hyYVVsJAdV7LrA2C0rGH/a9dKdx3qDECEOj+mzX29S4wrIU5JzbVkHn1rsZTk/HM81qtE/KXals5tDqcxdSjTO8q1mNZBpuU7u7oRt5nLoWnRT8qs8kzbm8O0cYdnBeaEINT4IpLy4a1G3NT1/yKflywlYBd68h6JUVDOxpc2hoAH8iNdW86RC+7QrBk8TQdQcMbxwybK29vbzx19w0P6bCS+A3bWvEi7vvTfdhKzfe7grqFhItJb4qN+8PjM+UWzYUIENBuo6Qg9B7YD9rT2OEYPIaLqdfzSxw8pGG+M7532UVp0338IJfOcFxjzc4MCdvuUkNC7z7uRfGsH/1KL/efAboytNY+D4S5W4bY3xmer/9WgXoDnFjb9eSuN6CqD6yF7P1JT5z5G7dmbykIVD0OjOPf58RG3Zmtqujz2D0YXChcmdmQ9lKT0rtIM+sqYyLoJTW+/g6xLQ== 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: On 2024/2/23 12:51, Sergey Senozhatsky wrote: > On (24/02/23 11:55), Kefeng Wang wrote: >> >> Both zram and zswap are used to reduce memory usage by compressing cold >> page, a default compressor algorithm is selected from kinds of compressor >> algorithm as the default one from very similar Kconfig, also both of >> them could change the algorithm by sysfs interfaces, so unify the >> default compressor algorithm to cleanup the default algorithm chosen. >> >> Kefeng Wang (5): >> zram: zcomp: remove zcomp_set_max_streams() declaration > > I'm afraid this (1/5) is the only patch in the series that we can land. > > The rest of the series doesn't look beneficial nor correct. Sorry. OK, please ignore the reset of patches, Andrew, could you only pick the first one, thanks. > >> zram: make zram depends on SWAP >> zram: support deflate compressor >> mm: zswap: default to lzo-rle instead of lzo >> mm: unify default compressor algorithm for zswap and zram