Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp25948rdb; Sun, 28 Jan 2024 11:46:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiBoPArlAPNt0OuE0nckzCLNCgJgvlrTpXdFaC/91S0YgunSQMHgaVvCJGcIbdcv4UzCjq X-Received: by 2002:a05:6a20:bf21:b0:19c:94f1:dc12 with SMTP id gc33-20020a056a20bf2100b0019c94f1dc12mr3131579pzb.63.1706471179534; Sun, 28 Jan 2024 11:46:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706471179; cv=pass; d=google.com; s=arc-20160816; b=RtFlosRHBicz0PaHtQ5rlkcK1J3fXCwjwIqt5Wex98R8CU83gac2ITdwOv7ETsKBZs 8fjkNUgk1REh1EVDRpnpQs9EQyh5cGtxnhb/bf6jEuMNYjYh/fp0U13Mo3GkBJLhPpdJ liHI93No1fUQ7QbROf9zlx7GX+vEUNCr4ET3Xc7ZpxCJsL1TXgUgxkThRE4rj/58aE6p aLk8yHLs5LZSWu4bvi8FLCvIctceN2ZvoFnETY8lCjpzGYNUPOX7c++ZmqEXus0t6OhS zDI4INCKRts1pehm6TgGRCafFnfcFGAK9aUTa4cVC+Ad1ulm2y9u8qmzzD3SWxFLzBBb AWzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=wMBCuymaQLGVg6pkHDonjz4+0HoNQanG++ojQ1umdF4=; fh=w99KpX8+b5Eqwe3We52YRRjGyIIWXRUesIBMUwFQaVI=; b=KpCDlgjtjh6ghNs7yNDRRW+4I6/UEaR0/Wwex4DQffsrpjy/K3NP9j8kTgW7B+cOxM 4KWMZl6Icsm4DzjH0vmKGpz277P5HHSzYnpAxMar/1kDlgfbAgdGjRUi7A5uc8SZHQXk Z/sVcWxnJas/Uhj8iR17GcIuUdius9jirQHUYyRnYPqAdPCZiNxHJdr7f2k6jH11kSkd qqaw22Wd9lkW0C2rVi2a9+MvQ/hvyPTlZQn2RwK3Y/F4ccSUhwG8EVEYY0VwDwsFL2P8 rp3BiFxrMESDh4cbojz8xL7MrN4UBblES+2rJwo0R2HDzlkdH+De98s1OT7r8we5vGHT wpSA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IYd37yhl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41914-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bs131-20020a632889000000b005cdbeb8228dsi4345763pgb.433.2024.01.28.11.46.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 11:46:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41914-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=@gmail.com header.s=20230601 header.b=IYd37yhl; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41914-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 3416E28226B for ; Sun, 28 Jan 2024 19:46:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F27321E538; Sun, 28 Jan 2024 19:46:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IYd37yhl" Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (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 A2AEC33CD3 for ; Sun, 28 Jan 2024 19:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706471173; cv=none; b=oKRbK0qcMtD2VowNm/g9vgC+Lh7qCkpy/1H0XFJpm/V7Zxspl+/XDr1fHoc9ifwnddwRssxf9I25np6tEhC5lD8zk+U1j641k3LtfFjm0VS13AlMXckLBw4uv96aTzCJk9wuEQmRpw801J7sSAG0PCS4p2Q18grb4ASkxFOD6vU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706471173; c=relaxed/simple; bh=wMBCuymaQLGVg6pkHDonjz4+0HoNQanG++ojQ1umdF4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OTEoMhx0jDy9o/ltd7Z4zGgAgKvqM7BOy3MtylgvBiDceRgoAOd8cRfuYrXQXwjGsZ0GR/UKBZP/mn70ic0c5A/B+rwftCeRvpcqhGbunsq3QtUxqTNbvQGOuQbZV9cX4z8gVOCDFavDaH6CEXo9uNcmWqfun5zzoksmhXUgj2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IYd37yhl; arc=none smtp.client-ip=209.85.166.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-36378ce9550so2018745ab.1 for ; Sun, 28 Jan 2024 11:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706471170; x=1707075970; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wMBCuymaQLGVg6pkHDonjz4+0HoNQanG++ojQ1umdF4=; b=IYd37yhlfn/b85SEnkBFTZFzCEU6a1V385LDRBZbgQH9e+izBwmFw8EXGBQYcclbIU GjBKiuVCrYwU8GGWghbr0p22BLv78QGBnQ+WMCuM/vVyY3kvFs8HltRLHeGBixrCGCtJ tG2vHj0t41FfYwDd1bNMa/R+MTN6w1Q/RlzXMDh/NpmQ1dU1V7IBw7aA6or5TVHLsQ9q b4sjiJEQFfMlKzz5PoCHqbV/XFsONGrplNzR6OgmELZIp4BLL1NtnQyFfUoJiNz6JHKA dFhN9s0AspvLWOMF41oxKSZYJXBNvcqNSI6oAvXVytcchdKLJzlwejxPShBpN9QNGjFP EkAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706471170; x=1707075970; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wMBCuymaQLGVg6pkHDonjz4+0HoNQanG++ojQ1umdF4=; b=t4mR77EtCukePZF7ydplq/aysnEqsv31xEr7KwRrYKKDTPMtK+yapJW4lmXFsjsGk1 e67mXLsQZ5yrNNtcNZ+4u2CkLJKHLXn18IqWBbokFwnRVfUe45fQ32nhjgTEHRZeJrWn wEIFRpW4snEFujylgsbGrp/AKvHJKl6F8h07NMHxxcZszikGI/zbOnZX71CUPTBqcS7N nV5Rk7p9Gv+20vcv8CLVAZfO/dOWnQPPxMFyNmpygHbUPIUdUaBlLzQ3S/Wcv+QW9IrO gYERlV9t2hiP/w2Hg9nwwNgyMXXqxEjFwf8/0MtR/SWUNaUBc7JabkYEo9pPrY0SHEz1 fpng== X-Gm-Message-State: AOJu0YwH6eAEqgXofBQCd2q1Nj+IhgVQPXTn3FK2gj4r+R4b58bWWkIs e2lCRDubh7r/p7lEvc4vyn5d9zCfxsoewAppTxKxYMcDT1PJVJcO+RR9/Z7iAm3dW+J0Br1ghNb o8QNFdmA3+1x0pmZPM7AYupbwNHE= X-Received: by 2002:a05:6e02:20cb:b0:363:8030:e98a with SMTP id 11-20020a056e0220cb00b003638030e98amr554771ilq.0.1706471170535; Sun, 28 Jan 2024 11:46:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240126-zswap-writeback-race-v2-0-b10479847099@bytedance.com> <20240126-zswap-writeback-race-v2-3-b10479847099@bytedance.com> <20240128155219.GA174688@cmpxchg.org> In-Reply-To: <20240128155219.GA174688@cmpxchg.org> From: Nhat Pham Date: Sun, 28 Jan 2024 11:45:59 -0800 Message-ID: Subject: Re: [PATCH v2 3/3] mm/list_lru: remove list_lru_putback() To: Johannes Weiner Cc: Chengming Zhou , Yosry Ahmed , Andrew Morton , Chris Li , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jan 28, 2024 at 7:52=E2=80=AFAM Johannes Weiner wrote: > > On Sun, Jan 28, 2024 at 01:28:51PM +0000, Chengming Zhou wrote: > > Since the only user zswap_lru_putback() has gone, remove > > list_lru_putback() too. > > > > Signed-off-by: Chengming Zhou > > Acked-by: Johannes Weiner Acked-by: Nhat Pham