Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1319361lqt; Tue, 19 Mar 2024 23:00:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdp/Dsezk0BdUTYH/rP1bHswurJcWVt09ZVl4G7Y48Ru7pTtySNyuvyug9I5yJwKciJdVYZBnVZuvufFfjtECTD75sbA2tIR/hxQb/WA== X-Google-Smtp-Source: AGHT+IF/ZxuI1S/2N73v+NTThbNAWs2GWflr71uS0ixbXOLcaZFsl5cJnz1dTC39+TIZ/5uVLuNn X-Received: by 2002:a17:902:d4c5:b0:1dd:5f85:118c with SMTP id o5-20020a170902d4c500b001dd5f85118cmr1473752plg.62.1710914416813; Tue, 19 Mar 2024 23:00:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710914416; cv=pass; d=google.com; s=arc-20160816; b=DCL5o/3j2kYnFxJOVdnNsdu1O1+7hXp9gcaJh1ItZZEIe5sP00pZ1S4AO0fCmJmxSp THp2CUNYYVBUvHzxt1PerBTusJSbC1PXqPfqhD4KQyejwMtfuRWNHNZUiJq+38cAjq+8 00eFCL5Sx1Yk8x1itTsz5bWCzhDnNAVkHp8LYMN1vrd8ywo2m3shBJj6J/4ubLACoZMS 7DUv5P25lPSbfSvVcPVNHA+OeKF0rCPsb6MeFhMDYcdTrFw6fLq78w8BNPFNuTtqXz9O XqfZ4N4ByiywOZaqPXC9ZCm6JKIQ9ah9+pTKElaeEgoeXMqapH8h/wO6mhYwl1p83uSm 3Vmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:date:dkim-signature; bh=PZTYFP7cQrHabDLXpeeWZ0a2uWz3voAo8UgAORiNtBY=; fh=xeZvS1yjKGjV7OKl0ozhQiqjHfRiNR3KKfuzxcEgZh8=; b=lnyqVX4hlu3VaH7P/k57J0dEGo2FXSbpvMeAeDiZzMAWpN/Iv91UqPLvaoj82IpVTO 7DksGjiR1SyIxAo47sIQLhPV9Kkt7QGz5FMg8ciRx/HVToPDGHjstzEYbbpsjbZgHOUP padCfqKeFQerEmJBMNB+OQkAapOplXLsyFdFc46IG5CM5fFS5pda8opdD2kN3+yiP94O 7PYItbo2i9gu8xUoc+7zv54JxVLP45XASAGn8j5I0cAhxVUExFw3+QF8w/DuE7myzbkJ +yRLdwXKtnx/gTJyVj/YT+2DD8R5cAtE9WgI43hoslw+5s0qVg9ahx9EKXseAvJzXitp WuWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=38JYpUkT; arc=pass (i=1 spf=pass spfdomain=flex--yosryahmed.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-108469-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001dd7d4acda1si12025155plz.635.2024.03.19.23.00.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 23:00:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108469-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=38JYpUkT; arc=pass (i=1 spf=pass spfdomain=flex--yosryahmed.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-108469-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 814762827F2 for ; Wed, 20 Mar 2024 06:00:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A068179B7; Wed, 20 Mar 2024 06:00:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="38JYpUkT" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C009517573 for ; Wed, 20 Mar 2024 06:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710914408; cv=none; b=EOGSdRIqUGDE7bZxUWeyrTT04fsw+EKLU2AcLQsnOaDHvLWOc+C/09TINZwrNoklFiGLfVyV3LgJCHkVhmxSFfTIg9JEd4q+Xppc+L6eN7j5VrpAuzgOeEkHq3rlzKsRL6Tg0l8nq9IV9AEn25n45IBN1g+4Fc7nYsgEEblsZcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710914408; c=relaxed/simple; bh=6FBlmkovYz3g0MfGGxRWQ6YmePlnSlZJ4o3EpgtSrEM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=F8TAJDToF950RpfmWTtikz/ZNlkEdiyU0TKM+fgjUy5WGXmrKZUSk7NS2yy4H+Wz5y6X9/DrSUHek0oTAXglAZ+ue7/7gTiG2BwLj6J2MoBFC//JTqxOC3j+VV4rjMdZ8r6zxK3hydtw0UBdj4pJJ2BnkPagcM8Jk5lOJSicKfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--yosryahmed.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=38JYpUkT; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--yosryahmed.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60a2386e932so125077287b3.1 for ; Tue, 19 Mar 2024 23:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1710914406; x=1711519206; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=PZTYFP7cQrHabDLXpeeWZ0a2uWz3voAo8UgAORiNtBY=; b=38JYpUkTGOCR0MzWftEnX+cRzZF5j9zf4UvBmz4xVPRoJzW5Mr+buzwP9liu1AQbc7 DW7L1EjQt4AhyyT/cw1ambYZrd9+ndE3pUy/lZfxxX/xCcBS8MdMGiZbXwGyWmMnbsp9 zKK8u0+H9KuqqyxDMAhSOItee/J/rQbVrMdVLlo5nZjJmFp3qDBzCcwZ2tRo/6zi/Yut XRYMrT36QrOf+MosFLZzDiNTVdf3TwmBoookPKnoqiZi+HwPh4aiveZvgj97rKaHJ7lt SxbjkiwlAc9pVNZQNro8N5S5UGSCQ2oADrFvjVjE7225Fg3R9usAmPKaM3AK1Sx+mJIp rWGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710914406; x=1711519206; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=PZTYFP7cQrHabDLXpeeWZ0a2uWz3voAo8UgAORiNtBY=; b=LsigSsOMEae/zTSR3/J5SJTWcP+DY+ehs12EgDrqcE8Xw8pPFuKJaH5rEh39/Wzbix BIYFqAkYslsvxSHQrLouA8D6z3dsFe5eNMxiCCTp4+GdJ+dwWN+WoALyikHXks/b2bVW oe0tCzotLXdG05N5JOlAFnLOSgnktLVg0ecr/HsCvjPl0cZstxc3uIcHMvZeZq+Ycht/ CVVTqORYFephs6WH+E6sryQVx9/J6vorxP9qXbz5jQudDrhbxhnBz2EOVnwLcrJDdmQZ T0xc4vxxLzeUM0ylPJiG4pZGmj/UKoHO4sBWNDxO27hxKHgR8nAqU/MZnt0STPjprMEb t/Tw== X-Forwarded-Encrypted: i=1; AJvYcCXN+iOcTbMKn6Pvlci0bGLuI41GV3hyWkIOS4Hh+GvUU+HYTb3OZdPuWC2YFlIIEApZFDq1ASsCimuaHTWFJu30C0Uudg9ZZ2B+Pnzy X-Gm-Message-State: AOJu0YzGLkiVSNNKqXyle3wW9H71cUI2GZYvVBNV1TnqET7RXqyJrjpf sHhl2BEYoXZCc0WrJfFlVUS0kKkWNBeIaU9x4QgGuMCafdHOD4avD3xM6hH5HEKQ86wy9Ebog59 X11oIUWzCwxx7UA4s0Q== X-Received: from yosry.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:29b4]) (user=yosryahmed job=sendgmr) by 2002:a05:6902:240e:b0:dc6:f877:ea7b with SMTP id dr14-20020a056902240e00b00dc6f877ea7bmr1139569ybb.9.1710914405429; Tue, 19 Mar 2024 23:00:05 -0700 (PDT) Date: Wed, 20 Mar 2024 06:00:03 +0000 In-Reply-To: <20240126075547.1521556-1-mengfanhui@kylinos.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240126075547.1521556-1-mengfanhui@kylinos.cn> Message-ID: Subject: Re: [PATCH] config/mips: support zswap function From: Yosry Ahmed To: mengfanhui 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 >=20 > Signed-off-by: mengfanhui > --- > arch/mips/configs/generic_defconfig | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/arch/mips/configs/generic_defconfig b/arch/mips/configs/gene= ric_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 Any reason for choosing zbud over zsmalloc, the default zswap allocator? > CONFIG_SCHED_AUTOGROUP=3Dy > CONFIG_BLK_DEV_INITRD=3Dy > CONFIG_BPF_SYSCALL=3Dy > --=20 > 2.25.1 >=20