Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1337430lqt; Wed, 20 Mar 2024 00:00:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiDoU5lAPhgqLXW5Vz56ZucdaQAd2BKh3nQPSKZhMTxbOTuDqhAlo/25fMo3ge+46VOiT+iIK89gLiyxeUR2WozRpI622RcyJ4rQ39Tg== X-Google-Smtp-Source: AGHT+IHnOp0PNF3aZPBOmDis2vQDLklE0y3twc1sa2a8FG81MjabDXXhU6HVX0eKTZkNczeK624Z X-Received: by 2002:a17:907:97c2:b0:a46:f69b:49b1 with SMTP id js2-20020a17090797c200b00a46f69b49b1mr609860ejc.46.1710918023079; Wed, 20 Mar 2024 00:00:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710918023; cv=pass; d=google.com; s=arc-20160816; b=LA/1pDgmOP7OtxwxpXcUewwFYqFLHb11eSRKUwbl8BGUgKd/kAd8jonFKNDuWJ8vdV dPEDjHI7DgyZrrVdxcIks9kiAN8DMSfquZgrZ09bDv7rRp8AaX9PUtuP2UXL5gN2nSww 97XOc7ci8ASi+OfZToenFwQS0owxAvoVRSllC6Usu/OjyYrd9LTWDuv57SaJbph2o4fK jUDNATRgFae4mDG9LSG/y6NGlQvn5YqWuaGFkCjqO3kYs1KujDs/3EZSDRqqN+8B6Taf Pt4SfdKFFfO1DMIEhUWCGPY0o891vcLz71z3XEp1v9uDjRhUxtOWnckdHmPWv2cR9gy6 qn+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=kLE/jfZZp5kUxheFLyZME5/ZjIg5tc/AawM9CkZG5JE=; fh=InLsSnXP1WmzNfZsxWwLQCRVuOvuj9lhZvfMv+KufDk=; b=DnXPDzQg/Ee0itb0BMUXmTBa+A9slUPL51W7XyI5DO35C0CEC6eBNDnA8JGrEc5aUd UWc0VEk3EIbBXTXJMmnIb2opqF/qMTJwOc3D6thzawypQjXbJnnFTLJRZk2+eNZJ0Cwt L2KC/Z1jwfw5s6x+NIOcfIqeOMU+qzk/7eFlrfCWhsJMIBlsYhZshOKgY0WK83ih4d5j Qxet6B4r8gMnFJgu854ps6sw9A2KRPFjhsbGuxiqQaxJPfp7QCgMSyHSEqornVp66dWQ uWJ9vNbhMpvhLslg6E/m8rvmTxr9ElNl/bwybsirobGre+8yDKtIc+JTC4HnDpgu6PUJ AhZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-108517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108517-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ky20-20020a170907779400b00a469671a2eesi4665102ejc.515.2024.03.20.00.00.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 00:00:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-108517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108517-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C966D1F23ABD for ; Wed, 20 Mar 2024 07:00:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28B341EEE0; Wed, 20 Mar 2024 07:00:15 +0000 (UTC) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CCE31EB23; Wed, 20 Mar 2024 06:59:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710918014; cv=none; b=tm2rGpltHfWvScovA9qKaNwqMIz9xb5iFGh9soDhWBmjGuZvjVTt7zrr07q2b6G3HJKFfvBlxMuITVgYYa1bHYmZGxGA9OeHDaTlnVEb0Y8LcEtMckSaG/1JTvX34abhxX1VJDglQjXqpP9nnObkE5k2de++akguySFvaCAK4NI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710918014; c=relaxed/simple; bh=HTTrM5twdcftVhagDn5lY0E4vILkVhvOdzJWy2xZXKw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OLVxemp4YuV7ITijsooLY0kHsRB7dpQJUrLt9U/0Kh9nDWsNIYSeEDq0bbqnAjfDpV1lclFp0wrnqghXoTv1GkKamf4jUDSXG8aidB4Txy1sNU0ynHDdbQ2tfJcO8wfu7kCZnGt6DncIZ3VdBOAS8cm+r9RDxCjq4Hnzmonh6Ts= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: a9e7b00a2d974b92a0c7a8672ac406fe-20240320 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:b5cb8324-fda2-4f02-82f2-1ea0cbe3fe92,IP:20, URL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:5 X-CID-INFO: VERSION:1.1.37,REQID:b5cb8324-fda2-4f02-82f2-1ea0cbe3fe92,IP:20,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:5 X-CID-META: VersionHash:6f543d0,CLOUDID:9a161b00-c26b-4159-a099-3b9d0558e447,B ulkID:2403201000570FJ81X2B,BulkQuantity:15,Recheck:0,SF:17|19|44|64|66|38| 24|102,TC:nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,RT:nil,Bulk:40,QS:nil, BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 1,FCT|NGT X-CID-BAS: 1,FCT|NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI, TF_CID_SPAM_OBB X-UUID: a9e7b00a2d974b92a0c7a8672ac406fe-20240320 Received: from node2.com.cn [(39.156.73.10)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 542372133; Wed, 20 Mar 2024 14:59:52 +0800 Received: from node2.com.cn (localhost [127.0.0.1]) by node2.com.cn (NSMail) with SMTP id 22D6EB80758A; Wed, 20 Mar 2024 14:59:52 +0800 (CST) X-ns-mid: postfix-65FA8968-88231199 Received: from [172.30.60.81] (unknown [172.30.60.81]) by node2.com.cn (NSMail) with ESMTPA id 97532B80758A; Wed, 20 Mar 2024 06:59:47 +0000 (UTC) Message-ID: <7d925338-8646-4480-9c79-83af041de122@kylinos.cn> Date: Wed, 20 Mar 2024 14:59:47 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] config/mips: support zswap function Content-Language: en-US To: Yosry Ahmed , linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, geert+renesas@glider.be, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@vger.kernel.org, hannes@cmpxchg.org, nphamcs@gmail.com, chengming.zhou@linux.dev References: <20240126075547.1521556-1-mengfanhui@kylinos.cn> From: mengfanhui In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A8 2024/3/20 14:00, Yosry Ahmed =E5=86=99=E9=81=93: > On Fri, Jan 26, 2024 at 03:55:47PM +0800, mengfanhui wrote: >> Solution /sys/module/zswap/parameters/enabled attribute node >> does not exist issue=EF=BC=8Chandle zpool zbud initialization failed, >> open CONFIG_ZSWAP CONFIG_ZPOOL CONFIG_ZBUD configuration,manual >> zswap function by /sys/module/zswap/parameters/enabled file >> >> Signed-off-by: mengfanhui >> --- >> arch/mips/configs/generic_defconfig | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/arch/mips/configs/generic_defconfig b/arch/mips/configs/g= eneric_defconfig >> index 071e2205c7ed..14884df392f4 100644 >> --- a/arch/mips/configs/generic_defconfig >> +++ b/arch/mips/configs/generic_defconfig >> @@ -13,6 +13,9 @@ CONFIG_CGROUP_DEVICE=3Dy >> CONFIG_CGROUP_CPUACCT=3Dy >> CONFIG_NAMESPACES=3Dy >> CONFIG_USER_NS=3Dy >> +CONFIG_ZSWAP=3Dy >> +CONFIG_ZPOOL=3Dy >> +CONFIG_ZBUD=3Dy >=20 > Any reason for choosing zbud over zsmalloc, the default zswap allocator= ? >=20 >> CONFIG_SCHED_AUTOGROUP=3Dy >> CONFIG_BLK_DEV_INITRD=3Dy >> CONFIG_BPF_SYSCALL=3Dy >> --=20 >> 2.25.1 >>