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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBAFEC0015E for ; Sat, 15 Jul 2023 03:42:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbjGODmY (ORCPT ); Fri, 14 Jul 2023 23:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjGODmX (ORCPT ); Fri, 14 Jul 2023 23:42:23 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DFB110EA for ; Fri, 14 Jul 2023 20:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=yKjL48l7aPRw8IocgRlVRY32V+vRxNKJ9cdRkCWL6qw=; b=P/pMrUwn5P9Y9d44vXU4s64xqn BgNAcSxwdu1J7hdcFr3BjWrO2ghT2IqrRnE4doa/NqWIZ/J0V4oYz6Ye2DH5MtI/u8WyZFfPfoC91 hNogEZnp4Oxya0+y/OQoCUMrIQfUdwaKfFBblKAkx4CnMgMphIpfYPEZoCUR++BdKjswJJWKXfnqh sU7eQJ5T4zsfC3q4qMPjKReOCKxek7xt4sD+smSPs7beK6OO7iFelmM4Sr2fcuAXn3Lh3b1CHjqRW DVZAIcNPceUHWSO2lUSyy1xI2ZY6y5ijetd8lLv3f2uD2wNtla9ZuM57jct1pLcDWs2fFBIVqu/Az OJYLOvaA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qKWAf-001nAv-9W; Sat, 15 Jul 2023 03:42:13 +0000 Date: Sat, 15 Jul 2023 04:42:13 +0100 From: Matthew Wilcox To: Johannes Weiner Cc: Andrew Morton , Yosry Ahmed , Christoph Hellwig , Nhat Pham , Domenico Cerasuolo , konrad.wilk@oracle.com, vitaly.wool@konsulko.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: kill frontswap Message-ID: References: <20230714194610.828210-1-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714194610.828210-1-hannes@cmpxchg.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 14, 2023 at 03:46:08PM -0400, Johannes Weiner wrote: > diff --git a/mm/zswap.c b/mm/zswap.c > index 62195f72bf56..1b0128060792 100644 > --- a/mm/zswap.c > +++ b/mm/zswap.c > @@ -2,7 +2,7 @@ > /* > * zswap.c - zswap driver file > * > - * zswap is a backend for frontswap that takes pages that are in the process > + * zswap is a cache that takes pages that are in the process > * of being swapped out and attempts to compress and store them in a > * RAM-based memory pool. This can result in a significant I/O reduction on > * the swap device and, in the case where decompressing from RAM is faster > @@ -20,7 +20,6 @@ > #include > #include > #include > -#include > #include > #include > #include To make this patch compile, I had to add zswap.h to the include list.