Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2119836rwb; Sat, 19 Nov 2022 09:15:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6cFTKnit4UIeKIQsxegxEcizHv4rj28aknmpXcK3ujyNBIhsKF9XiWcN54b8XWeflAmEU4 X-Received: by 2002:a17:903:2642:b0:186:8558:ded2 with SMTP id je2-20020a170903264200b001868558ded2mr4671078plb.95.1668878139785; Sat, 19 Nov 2022 09:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668878139; cv=none; d=google.com; s=arc-20160816; b=dhTPH7M8HIsvU1ZAOIBy8rK+Aqsk6UXrIy1q+wFxZkoU4HBtkhnxJ3V+CBgm64S/iw 0+vv6iHmi8rsQXjR5oWb6j+/E2ufNQF9B45JvouPI0y/XVxGd2t9ue9p0ythvWV+nfJt kjqrTILmAXD8eteS4jfKMLSUKATmSqr5/Knz8P587aCP7TJ+lpibdYw/+IHepz2Q2g+D EzE8lCrU6BdTEZ6gZoEhhUwFL9Jd56RJzSYtTjMbZpSwfzRlESbrxv3UKwCiwgqnRjdZ Tm09HjUw3BzevRfAOaH4ot2g1RxAgAKrdPKKUrP58DD7g09eQ/GGz/XI4ktvZeCRd+3/ us2A== 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=eXZa3yham7LQjkFxwlwbANAnqcPLbUrepQwS5mjQX0o=; b=cjVe1Sr33PkJUxA8ANjGlJaVPvhSFDi27MqZyimtjWAQMxh9K0dzbdycVs+PPdY43z RNR2rOgB9v69OTEIpvXBweQ0sMXV8pW83pi02pV0LKgkuMlwU2q/pDalEZKud+reNI+q iiMNSuROqfi9oBb7TgZLIAzYY4gvB6dboWVY6+q4w3oSWTVau/COcrbpBfei9NhO5XFO VvpB7Bj680Apce0oWV4RVH3RiAeLZpfNxXkkB7wOP00DpL0P65Z+/CA9BRijAntcPBwf zPmVr9jDXlWGT9R0iQJZixhxuzQ2YKeHAU7/Z41hSqFoZc9NhHPBGuK+0Vn/YvwqwMeY 8Rmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b="F1QoWU/3"; 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 q12-20020a17090a68cc00b002187105ec3dsi6668276pjj.43.2022.11.19.09.15.28; Sat, 19 Nov 2022 09:15:39 -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="F1QoWU/3"; 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 S234219AbiKSQjI (ORCPT + 90 others); Sat, 19 Nov 2022 11:39:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbiKSQjG (ORCPT ); Sat, 19 Nov 2022 11:39:06 -0500 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30E0553EFA for ; Sat, 19 Nov 2022 08:39:05 -0800 (PST) Received: by mail-qk1-x731.google.com with SMTP id 8so5490359qka.1 for ; Sat, 19 Nov 2022 08:39:05 -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=eXZa3yham7LQjkFxwlwbANAnqcPLbUrepQwS5mjQX0o=; b=F1QoWU/3dbOxgcJjwF8lNKPJAum7Fr4uX48L66l4QxIIUQzhIyYBbL3ib/LwHKD130 uT+Q81r+hQl0x3DJ3yGZP7YgyENSXoK/L4APFW9GL+rbY5xrr4Gp/kaorWNHD2cbGFc2 reZYcE58RZEBJu8CMIZhc2ypZqPKCkcVHk/Lwz6xTUtEd42eoUhn8Fu+H07S5Vzeazjh Limq0jXVD67IETUdQwrmBMMUvjFBHeSR7ELc3yS+pB6OmUIpKktW/mKvBHR9TeY8/287 7A5w/3hQuEbYYrPS7CybAS6tU+qUsA1a203abx9NczDCTXAafi1+m2fGOSt4KF6vP1Eu nrCw== 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=eXZa3yham7LQjkFxwlwbANAnqcPLbUrepQwS5mjQX0o=; b=gxTDrdTkhSRabfcrJ303KAqB+s9uqvU+DWXd27pB2KdKesenm5OeGJK0QlJJRZLgC+ rXW3u2lpE0YO5ELZwqS3mpoim4nwCWHQQWbssAWloOG9DI0qJOGBXiF82tMxOfAR876h soacmXz9GcdRy/fntI3H88jhL5B6DMBfZvhMcnogI4FhkYwIcLmKTxAmd+zEaf3rOBHp sbZcWzO9KIafz1DGyPve0wPaDZ8GajTs6mp1rMn5U4ZbLElr2xMl4VljevpXzwfMohS3 1nyq8xnY0uKLNyQAOQfOKqJoUReenS7/VIwIEQ4kd+lbWkzauTqoNgc1mWDdQIKthmlV gkkA== X-Gm-Message-State: ANoB5plIeyDiYEkbGvPhjrkkKGCYPr9ZIVYgb6xyKBjsW+4loq54RhG1 e0V42Y+6ipHXSOfv6BPGnt5ucw== X-Received: by 2002:ae9:f807:0:b0:6fa:330f:85c8 with SMTP id x7-20020ae9f807000000b006fa330f85c8mr10093388qkh.127.1668875944343; Sat, 19 Nov 2022 08:39:04 -0800 (PST) Received: from localhost ([2620:10d:c091:480::1:bc4]) by smtp.gmail.com with ESMTPSA id he40-20020a05622a602800b00398ed306034sm3996637qtb.81.2022.11.19.08.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 08:39:03 -0800 (PST) Date: Sat, 19 Nov 2022 11:39:28 -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 v6 5/6] zsmalloc: Add zpool_ops field to zs_pool to store evict handlers Message-ID: References: <20221119001536.2086599-1-nphamcs@gmail.com> <20221119001536.2086599-6-nphamcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221119001536.2086599-6-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 Fri, Nov 18, 2022 at 04:15:35PM -0800, Nhat Pham wrote: > This adds a new field to zs_pool to store evict handlers for writeback, > analogous to the zbud allocator. > > Signed-off-by: Nhat Pham > Acked-by: Minchan Kim Acked-by: Johannes Weiner Nice, much simpler. This should make Sergey happy too :)