From patchwork Tue Jan 30 01:36:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Weiner X-Patchwork-Id: 13536666 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 132D1C47DB3 for ; Tue, 30 Jan 2024 01:42:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 673D06B007E; Mon, 29 Jan 2024 20:42:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5FD4D6B00A9; Mon, 29 Jan 2024 20:42:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4ECF46B00AA; Mon, 29 Jan 2024 20:42:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 410A96B007E for ; Mon, 29 Jan 2024 20:42:17 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id DF8C71C1494 for ; Tue, 30 Jan 2024 01:42:16 +0000 (UTC) X-FDA: 81734277072.16.9DC4C7F Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by imf14.hostedemail.com (Postfix) with ESMTP id 05BF1100017 for ; Tue, 30 Jan 2024 01:42:14 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=nHTgZQ7P; spf=pass (imf14.hostedemail.com: domain of hannes@cmpxchg.org designates 209.85.219.44 as permitted sender) smtp.mailfrom=hannes@cmpxchg.org; dmarc=pass (policy=none) header.from=cmpxchg.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706578935; a=rsa-sha256; cv=none; b=RoJMtj1yWQhfdjfxV0AQbut4mc6ZLwSG1og8VqFFpgpb9uPfENp5xgPP24F0pebnwHg7N7 888wm9DykfO7SLEODQH+MUWTRg0/n4FUCVa44H26xSiy9xc1Xdp3NVYSpmOwnQ4CetN2+R NTLz32SmTm0nFi3ktdnYSVRxuzwNjgY= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=nHTgZQ7P; spf=pass (imf14.hostedemail.com: domain of hannes@cmpxchg.org designates 209.85.219.44 as permitted sender) smtp.mailfrom=hannes@cmpxchg.org; dmarc=pass (policy=none) header.from=cmpxchg.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706578935; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=irGILLtZ+B4v/jX46BOE8oPtbTKGTNQJoE3QMc3gHIs=; b=4HfkglMVccWF5dTvdsRJU/74oDi8qOO8Y+X9nDTMzWN/Wk7wtAI5g80nJznQ3JjhsObgtC vdiVbLV2QKoeVWcAKxBQ/BwbgbJIQGX1kIUUccDPE6legk48R1RjVc0jmraOncJGGDUIku uu7rwOoaTxHHWbjScOLQXFyJNxzwq2k= Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-68c41c070efso14300166d6.0 for ; Mon, 29 Jan 2024 17:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20230601.gappssmtp.com; s=20230601; t=1706578934; x=1707183734; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=irGILLtZ+B4v/jX46BOE8oPtbTKGTNQJoE3QMc3gHIs=; b=nHTgZQ7PlwIdHdulkzK+p7kqJ6QLcZkw9OPfzjb2OZYp08Ml/tITyqfSZvnUuTm8Mu VJLcgwspTL59wJXN+lZQbUeKsRLqLxJUYSkGoC30jOq32ya1GqmzSQeN8sc+CVbzgd33 tf07rQnadBZmwbaQYy1QS7PFMCozgOXS422FzLCTm/KtsxHGAXsRZP98FKyKd1nT++PG MvKv6X3rb/q7zokoNixLkjjEP/hPlbts5e+rggbGVDL9QviY6hkF4z+6v7bPuoAudlO9 7QbYFivkdpew8aTMJlajVusRean8kQiRJi6UzjG7ZAq3wQ4mysXEPlCWvMb1WX2tsDhp O6Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706578934; x=1707183734; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=irGILLtZ+B4v/jX46BOE8oPtbTKGTNQJoE3QMc3gHIs=; b=rsrO3zRBA+TuG5r8bYppNOQH36kIjrpU1znDtlZghvGWMoM4cK9T/QjwmJgaL/VgtC T19yt67dBm39QEMTYRDbYRsPyUDc4Wb/afhgk205poF5eRtj31qItGoDnMH9ePe2Huep ttbM4PPv5Ro28cYwVXxXuNMtfOfJglVNEDh/p54wz16DkueZUmFe3W5bmKtD9/vstqSz oTj6pWseby8wMiRZGvwCbI5JWN2vm1HY3wddCZNOESj96Dc2rZ19Ixg5ivAckrA664eS nd8Wt2anPIAVWwJ8IpYy/J59vyZji5wGqmfFob1nBDELal2X2eMLYgACEC+YYufWHEfF yeWQ== X-Gm-Message-State: AOJu0YzcMLTnmpXZdhIGkIZVpY4BQ+2HAufezZB8XkzGbvbMcAORgWfe xGbCA4QBhnAC0xAoKv1kq+/45JRCaIJYVkFDjDe1RwdqVorgZwNVY+LMDKF6qMP6QTbxcQXnQlv e X-Google-Smtp-Source: AGHT+IEX8Cke0DmVSl+0NJn936xSvz0Om3dfqXiFMnqrScdLh1V+u80AKZlKzzeHYwJUjRaAxUhXuA== X-Received: by 2002:a05:6214:2aae:b0:681:97f5:7e9a with SMTP id js14-20020a0562142aae00b0068197f57e9amr276487qvb.47.1706578934096; Mon, 29 Jan 2024 17:42:14 -0800 (PST) Received: from localhost (2603-7000-0c01-2716-da5e-d3ff-fee7-26e7.res6.spectrum.com. [2603:7000:c01:2716:da5e:d3ff:fee7:26e7]) by smtp.gmail.com with ESMTPSA id c25-20020a056214071900b006869dae6ef2sm2407584qvz.106.2024.01.29.17.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 17:42:13 -0800 (PST) From: Johannes Weiner To: Andrew Morton Cc: Nhat Pham , Yosry Ahmed , Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/20] mm: zswap: cleanups Date: Mon, 29 Jan 2024 20:36:36 -0500 Message-ID: <20240130014208.565554-1-hannes@cmpxchg.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 05BF1100017 X-Stat-Signature: fyjne8ar1rut5a5mxqfp4z8fnp5ubf9w X-Rspam-User: X-HE-Tag: 1706578934-185617 X-HE-Meta: U2FsdGVkX18Ucu/DkBJ71WvOUDBskmtTFD5mwecwoYdOkQH8T4ViMn3adFCvcI64OXcHbb0ouq6Gg0fr9UyrAeb9g27BBLBJvfpjPqlc/QtnOoHcY4n2tDbsQ+bk9/gxpx0JSalmZpouZCKoKxxX7WCh2E/+Lj9zYliZASS8N64yjSPFqfZ6YjOTzjtuIN88PN4/GmAyAZrLDqy082WDX7Iwr0lFodqDVilBaMihW5udguR6O7EaRjSvJCqoANCeTbVUtWW1eEcyyELTTs6pSqU7r5Ja16AfHruYZ4Pv/ycqO1B+ImeFqp192bp2oKbM3PbHF0dDzp0yIRCrJykJPeOxCzaMiB0j99HFdLBHEqQxCADqXyckjXBHW1IcUX5OWrVVL3+nKsee5Yl6q6HzJlcoRrsYNuIj5mXBRci7n6cfUv+ZP3i1b0SOIzbOzbw2RCNMv4876VEL/XRWDq7dk/MU+7QHUUSpA2FO9AKKXYAaDFWnaGo7hBl8wR/lAN/0io6JnyTtGp1ccRd0YEbR2pygt++DSOXFdQgNhRJs+topKTAVjOjiN4SwQq65bRwxgm7WOLfNLITpvLHO8/0a+ejYN9HoW/O7I9LzKVcGW0aZb5rRfRNEGSPc0aFz7fu2lNwzZTOZIBe09gUwlVJ3oFq66LWK4CHTlt/YusH4XZFlIz/SHx1FUaYof985P0hV8dl40EyF1tiH+TKZbNJfrU+Vgu1b8qG7XrPX1RkNxwegZHqGaNkJtZy0WjPoVc2pBWvBgKOloe3ZjvotbSnv2IQn+8iKalvArvjd0r/+mMoOI3lH2Dbo4jkG02YHQRIPopAP13rP4xynl90GKxSjQpuHPrjV2w9qilRocooOkdCpb8TNDjeTSug/g5QCRSzm0UWJl3dAxOhm7F43PbDOqOlyE3ksBP8SLdrbhOKhRDbbOP10uowOkCU4OkNFVLjYrjamhn8544QVaSddesv 3vCPuMuD FefJ8PIRT3H8Em4ZuogZo3mmyxjTXCCW6A5JRaTURmExcsTT2h8Y6ZYQvOk3LfsPS73txzh921Z1ycq9sDcoj9xiTLZFgNVts0dGUWxOmWoo6h9s4TM5poxVUlBnOWVOgtcvNBuUNzMsigAGXG+5ubJAUiEXqJCnE2b3+YNIgedvWSpxXFosXa+ByjucJuDyHsjP2msYxuZeM/GcoAl6w5SsXDD98dm5dkm9liPMiSa1Y6xPPvNvRk9UX63jeM3XiSGQgnws16B6Zx7X1AwaY5ankWdJxyxnxOITh6NoIg2OvU+EEHJykqELtrahvtIJq3fxr+YA1Te4uPbzAQkOrf+4biAVkOYrvWLNa69j7gD+MIOQGGYW5QnBuMVCHK4eQGAKW X-Bogosity: Ham, tests=bogofilter, spamicity=0.010619, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Cleanups and maintenance items that accumulated while reviewing zswap patches. Based on akpm/mm-unstable + the UAF fix I sent just now. mm/zswap.c | 1961 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 971 insertions(+), 990 deletions(-)