Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10198361rwl; Wed, 11 Jan 2023 16:15:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXtCYhMfw3LHTDELp+ZQiZyRxRWXXME6j857KdcUYa9hPE2r9kAlYF/GZAFK22L53a4PBl6R X-Received: by 2002:a17:907:d407:b0:7ad:f962:dba1 with SMTP id vi7-20020a170907d40700b007adf962dba1mr67459617ejc.53.1673482545636; Wed, 11 Jan 2023 16:15:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673482545; cv=none; d=google.com; s=arc-20160816; b=Vusy5QVgH2eCsZwvBwntt6htHCGc1PDP7F+mqbREFJav7I1FWLOmxbn6NfqNklAgG5 123Ev1VN/KR9K4eLFdfO6qf21l/a09PX0ghC6seKuWtnjr48XV7qzLAkrrURaG2a43Ve KJ2kH1SPJawACYyE5XsnLYL/zK8Q6fWWpdyJvnnDA8HVqCQ1UVVoOYVt+W4SsDFFc1rw RcQZ44ovvX7rYIQtWxCZpCRNPIAnw/UUE0vUyduCG26MfExyVK7n/9zYgbGT40CuLY2F Aobwcq+9CzbvazmSWJRajUElgTWkX4D9Me05R2j8sgu14hAXXK4Df7VbipCJO5pVqKsk o8Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=dDwGXZocYb9bm1j15+JCwzaV6q/piPhQFY8QxjWQ5YY=; b=RQ1SLwH/SAXFnmV8LNIgzSQlyIq/JmYedGp0C8d+hUv+XwJ3CdrwO3gBsHX/9MpRuf Dh30KvjVyJzWH9jtj3Zw/4xTRWRKM4sZR2qfjY+aJPPhx1KKN2usJxRjhYfv7xIGhU7W v/JX/zFZpQHoW7eBk4wDMxORAShmcc0M9fUEZb5RBGxFdkjsWXpnGbwYvqvBA+NtQeDg AmviSXFYx4UYPDP+FOTGTWv4a382z55bNWBJUzRlCJfw7uWhLK6LVEG1gQByT5526ofA 6+xSjyHHscQ3JgHlF+SaSeBY7ZYzHs5V0wSua5m0ElNQ0/oDkrkRvpNYhhjux+bVeuq0 xjQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="Vfb5/xl2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x7-20020a056402414700b00484e1329439si15855921eda.156.2023.01.11.16.15.33; Wed, 11 Jan 2023 16:15:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="Vfb5/xl2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233899AbjAKXNH (ORCPT + 50 others); Wed, 11 Jan 2023 18:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234049AbjAKXNE (ORCPT ); Wed, 11 Jan 2023 18:13:04 -0500 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6F4A38AE9; Wed, 11 Jan 2023 15:13:03 -0800 (PST) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 3F35C734; Wed, 11 Jan 2023 23:13:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 3F35C734 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1673478783; bh=dDwGXZocYb9bm1j15+JCwzaV6q/piPhQFY8QxjWQ5YY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Vfb5/xl2D6cFVufmN9AgwcMsKw1pO7MWBNmrzth6G20i6NIrAOoQRfS4d3aolT5CT Fc+qS18dt55PfXjcLXiM0gpZu2Jn37M3tePsHXAvQxCvRPA9x8fMHZU7iHSpvgMkYV Ma4Z3gU0I3NFuBoVB8ZpwkpeCpPbJvuGIXV7L/R2WbSvNxHBHjrQTiQlheUPriEk+L /1qDVxBU/eoul8k3gQNPYaskb4XVjN5lyn+bi+zaVwTieM2jHpmJA9Tr+RtGKE0NJU n/itTekwiUKW59agJ9RoE18udAVs7LGTWv2abZ0WEUD0RX9xFlDB8tpFFLG0DefWUd TuxgoOQMIBFqw== From: Jonathan Corbet To: Nhat Pham Cc: hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kernel-team@meta.com, akpm@linux-foundation.org Subject: Re: [PATCH] Docs/admin-guide/mm/zswap: remove zsmalloc's lack of writeback warning In-Reply-To: <20230106220016.172303-1-nphamcs@gmail.com> References: <20230106220016.172303-1-nphamcs@gmail.com> Date: Wed, 11 Jan 2023 16:13:02 -0700 Message-ID: <87mt6ovf5t.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nhat Pham writes: > Writeback has been implemented for zsmalloc, so this warning no longer > holds. > > Suggested-by: Thomas Wei=C3=9Fschuh > Signed-off-by: Nhat Pham > --- > Documentation/admin-guide/mm/zswap.rst | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/Documentation/admin-guide/mm/zswap.rst b/Documentation/admin= -guide/mm/zswap.rst > index f67de481c7f6..6dd74a18268b 100644 > --- a/Documentation/admin-guide/mm/zswap.rst > +++ b/Documentation/admin-guide/mm/zswap.rst > @@ -70,9 +70,7 @@ e.g. ``zswap.zpool=3Dzbud``. It can also be changed at = runtime using the sysfs > The zbud type zpool allocates exactly 1 page to store 2 compressed pages= , which > means the compression ratio will always be 2:1 or worse (because of half= -full > zbud pages). The zsmalloc type zpool has a more complex compressed page > -storage method, and it can achieve greater storage densities. However, > -zsmalloc does not implement compressed page eviction, so once zswap fill= s it > -cannot evict the oldest page, it can only reject new pages. > +storage method, and it can achieve greater storage densities. >=20=20 Applied, thanks. jon