Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp36374rdb; Tue, 16 Jan 2024 14:09:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBsvC4xylbhvM5RyuC8XWqGA3MyfXh3VONx/nPHqWib8l4FbhwTHlz27AbCPLWyZplkT7E X-Received: by 2002:ac8:5d92:0:b0:429:a570:3897 with SMTP id d18-20020ac85d92000000b00429a5703897mr10327085qtx.2.1705442955273; Tue, 16 Jan 2024 14:09:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705442955; cv=pass; d=google.com; s=arc-20160816; b=Eg9j43r0hCCoTOAoQUig1RrkU0PTU6YEL/+0U2BiKNymtaaNhi7DsUESnpxJ3RT8gT HnepCCwfMnYL9FCB9A0eOqvC4DwYrCvZtCE3tyi3rMYUr8mSLui0MSXcPyPo4AbcG9gx IzDOg23IMAEk9gMzIPNNkDPbiZBTdB7vrz2pPYgd1YI8TO+OHovxrMB8Cij/QkZFWvgv u0De98XwZZUOJGGLzO+tPB452HQ9MU0Vxcdd/HDxcwkAaF3atiJKCMad6xSlKfIAqtFl cpSLn6ym5HUsoPPI7xHZPkuMuzOT0gD6VTAB6CiikDXcBy4pgS951SjsfyK4ffa2r1lE iunA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=MUH2vrDtFgdMyN2FmMOY7xwJrNVEpASLntQ+HdC/chY=; fh=Mdplzu7D2JX9pggwgxBcHVU9a27kUPCIwnIIvj/dyFA=; b=Uvh2A4HPPhC+6wQ5du4Bpg6PDFTqg2gCnNhvRfYyHU+BFvSjxbZMQ5oRommJ6UNR1X FKoP/6DsjdOmuvaNLvRE1Aztv7A6GtFA9Hv45BXHv8ijZHiEc1sBFioAGxayXey1ORca fQVPmb38KfSA34AA16v85RgqleFcrx0ZadhexXZM5ONoAVvq7WgJyKQN8idp+fC/Kvbw zpFy6uLqFAD3lGsJZKbHBwHGAmzJIMxMeE7XX6Wrzskbz6gS+RnVxg8LytDc0ZrhzV20 JZUI1EDRW3GJ1ZBzNQNpN2OLoDBycdFcE0eIIN+2ltiSz+iGCdD8uqOP2CP1OSbF/7K3 vfWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="Ximf6L/F"; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-28236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28236-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h19-20020ac85e13000000b0042a09b71debsi1180297qtx.477.2024.01.16.14.09.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 14:09:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="Ximf6L/F"; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-28236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28236-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0BCD81C272FB for ; Tue, 16 Jan 2024 22:09:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDC6457891; Tue, 16 Jan 2024 20:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Ximf6L/F" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1CECF20DD7 for ; Tue, 16 Jan 2024 20:09:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705435789; cv=none; b=QE7ITi6peZHE8oRDcRIdTVuJ2bUB2gxAqS6IINHp6/rKpwF7sdtnRYIe5J9SPGFFwV9fy2KhW0DVz1rrgosRdvNGxctzwkNCZ1V5ro+5mNqmRTPRPczJR+QBPV86N0cqkVhCZTammqes5nWdvo7+x8rWtKbYjXeA0IhI0Ggi594= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705435789; c=relaxed/simple; bh=gdAk4kWrtWiAqmSMBrHr5e88tr+iTIpY2yL02fV4bbc=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-Id: In-Reply-To:References:X-Mailer:Mime-Version:Content-Type: Content-Transfer-Encoding; b=ebeF2sdTCeQ+775bi7suVh7gZnmo1u1kcOlaDX5q4Pv4X/9lU/AgMRPBv+HIGZ9vxNpast+DiUwJofE/SSeDfegMgrzzl1Asm4pGg3c996NUWWpwQkSroJ5ZVPZfRlj5KsQAIKtvOZrHgn1rLiRKbyLsdP8N/XoTFjyWseLxivo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Ximf6L/F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AA47C433F1; Tue, 16 Jan 2024 20:09:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1705435788; bh=gdAk4kWrtWiAqmSMBrHr5e88tr+iTIpY2yL02fV4bbc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ximf6L/FlFDOaC4lTZoERv3GRCOcXwpMDcTwLfIBdb9Y7QbGHchGwcV6jPEk2RLln Sijv3uG5gjBvBQmdHDch73vEq6QYRibVjWCh4aty4p61vKoEa+9ZGgM1FbU1iiEtnp 8Sn75qvrUvjgbGKnvWPhxZNc7B1SWoxQo7vFhyC4= Date: Tue, 16 Jan 2024 12:09:44 -0800 From: Andrew Morton To: Johannes Weiner Cc: Vlastimil Babka , Matthew Wilcox , 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: <20240116120944.01f25e65d13f0fc7e2a2df34@linux-foundation.org> In-Reply-To: <20230717160227.GA867137@cmpxchg.org> References: <20230714194610.828210-1-hannes@cmpxchg.org> <20230717141250.GA866068@cmpxchg.org> <901409ed-504b-9500-54d8-e42f832e07b0@suse.cz> <20230717160227.GA867137@cmpxchg.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 17 Jul 2023 12:02:27 -0400 Johannes Weiner wrote: > The only user of frontswap is zswap, and has been for a long > time. Have swap call into zswap directly and remove the indirection. This falls afoul of "mm: zswap: multiple zpools support". Could we please have a version against mm-unstable or linux-next?