Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15465172rwb; Mon, 28 Nov 2022 11:55:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf4pjwZTG//ekxz6d+ATXfyP4lS7a5Cq6A5m/27VjbB574+AtOrI7ItqX84+oDDOK0aZxssW X-Received: by 2002:a63:1c55:0:b0:477:d9fe:c3b0 with SMTP id c21-20020a631c55000000b00477d9fec3b0mr17450310pgm.445.1669665346027; Mon, 28 Nov 2022 11:55:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669665346; cv=none; d=google.com; s=arc-20160816; b=EuIq/39O/z/XbtGC9s6ZWHooYpnmRI/G8GFOj3F8ZSNDyRu+bnkRcJbPGMnaf4tDyc nWo7NGBa/pLmwXag8Bn3BiUxd9tpD2MUmN036JCNVzhuZ4KksewrtRPqRF07JVpiRCSb 6PAiYH1vMAKAl9ArXUUQI4XD2TW8SP7n/tHsL3UJ4cEBnChbpIovItE9yI7UY3TD+zl4 Xj5504suEni0DOzdQruyQ/l8iZWryGUtKk+giz25+o0dlUSfACNhOmBAZop4f7cRnsYJ J8/hwIYcYs1SyWuuUSg8I1M7cXRVNUu87tGhHgYH/vKB9I7gpeGrPCjb3I116QeivVGw KIIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zvlGneR6kzy7LLRum6bYtymNr7LK9Ap/NO8h/mpmn5A=; b=RfgFz+CCFUwInvoJrb8e7u4OXgonPCdPyC/YNEDkNRjHwoXw5A2A01so9xqz5Q28Fs 8gX/NUC0DOvYpU113kuqvOPvihVvZ237+g1vldVw5FOv8/R5xtt4yv3RLAm9jj2Zpqcg EwuKwwNfdpaPOLRZU3WLAUCCORAbSmBrcKGlmJQpf+VxwX69Kf7kqAERH1wkfU3WHPyo rVXBOcwt4ktStw8bRllQWtYIvv7IsW5UwnwglwuCH5kDGr4WJeHOaXLbBRqas+InQXnS NIrDc+t6K+fa+rjVzHzKzpgYBuo8dznrQsrGFjT4sSDPWhkzMl9Q3uaD+bgp2ZTXPYXh qK1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=N1AywFe8; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a056a0015cb00b005615ef4cfccsi13799748pfu.185.2022.11.28.11.55.35; Mon, 28 Nov 2022 11:55:46 -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=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=N1AywFe8; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232586AbiK1TZN (ORCPT + 85 others); Mon, 28 Nov 2022 14:25:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232187AbiK1TZK (ORCPT ); Mon, 28 Nov 2022 14:25:10 -0500 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FEE3B94 for ; Mon, 28 Nov 2022 11:25:09 -0800 (PST) Received: by mail-qv1-xf2a.google.com with SMTP id c14so4122440qvq.0 for ; Mon, 28 Nov 2022 11:25:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zvlGneR6kzy7LLRum6bYtymNr7LK9Ap/NO8h/mpmn5A=; b=N1AywFe8X4kol9Wjs+TbFySd5wbHHGBg0dGNKuGpzBnHF8k2xMmIFpg2tieNI/BuLE WAMIAdUej/+4aWMY8/ahUnc4KD2kbckh2VBSYInQspSBhZ6MIRztkTVMEbHz36I2cqvS MC7siKZRMFw/RxUU9qeftLwiNg7buWzSCPzApq6aqrZigQDeXRLUofPOr6O99o/K9kZh vBxEyp7TlT+cDzPmUsCLchecZmm7SY3UKwS+QU/sveTD4Zi9uUIisfNTdQJJsTtUAs8w /MKH1qVOYUaML9FZ3H1donWEHlIzp3G5fb2g6zZlBmKs/pUfqmAD9TZBciBxMW08r9X0 jL1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zvlGneR6kzy7LLRum6bYtymNr7LK9Ap/NO8h/mpmn5A=; b=ZEQbhCJVytQE+1gbjzLj1eBhRCC5stXoUoK8mBDm2vXyjzmqycWismFRLbjfbFplZD S7Mdl+UO8bXTSoObSYt8SbAmFRNOAX0nGYDEMcEfelUpqO2LvUE7I1qZQ04q8SKFMTmK 98YwGFeq9HBUA8mmdGcUZobFcq2CzY8uZjhurvMJ0eQgUZ/F4Zn8QblBIMvfvxSgVR56 SvbWpxS1BRIxWILw+Pfj5IyOJQH2gjUNBw0/nPiGMmSVh0H+qQdLvf+7V3s/vwSHz5gf /tWBWOFWFBf1EJMJkiBQce8UHnqgs6IM+FvI4A8Ugfvvk/SrTjWlY0u8voP1IGMfB4eZ y0qg== X-Gm-Message-State: ANoB5pnrEo/9PbM+pBTQGZc0i6jvwPuTU8JFmwOE12M9VDEv6REYArdg GQCeiw4TkGx9xsE9cWJCOzNESA== X-Received: by 2002:ad4:57ca:0:b0:4bb:6354:8cbb with SMTP id y10-20020ad457ca000000b004bb63548cbbmr48371421qvx.91.1669663508268; Mon, 28 Nov 2022 11:25:08 -0800 (PST) Received: from localhost (2603-7000-0c01-2716-9175-2920-760a-79fa.res6.spectrum.com. [2603:7000:c01:2716:9175:2920:760a:79fa]) by smtp.gmail.com with ESMTPSA id r139-20020a37a891000000b006e42a8e9f9bsm8832544qke.121.2022.11.28.11.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 11:25:07 -0800 (PST) Date: Mon, 28 Nov 2022 14:25:06 -0500 From: Johannes Weiner To: Nhat Pham Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, minchan@kernel.org, ngupta@vflare.org, senozhatsky@chromium.org, sjenning@redhat.com, ddstreet@ieee.org, vitaly.wool@konsulko.com Subject: Re: [PATCH v7 4/6] zsmalloc: Add a LRU to zs_pool to keep track of zspages in LRU order Message-ID: References: <20221128191616.1261026-1-nphamcs@gmail.com> <20221128191616.1261026-5-nphamcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221128191616.1261026-5-nphamcs@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 On Mon, Nov 28, 2022 at 11:16:13AM -0800, Nhat Pham wrote: > This helps determines the coldest zspages as candidates for writeback. > > Signed-off-by: Nhat Pham Acked-by: Johannes Weiner