Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5161696rwb; Mon, 21 Nov 2022 17:54:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/NtXGrR+7mOFhPh89CttiyZkNpT+wCPUS5LJJNFmhXhmznrrtWVkp64SC5LLJdkb48ipC X-Received: by 2002:a17:90b:35cc:b0:213:e907:5c0d with SMTP id nb12-20020a17090b35cc00b00213e9075c0dmr22290874pjb.83.1669082082251; Mon, 21 Nov 2022 17:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669082082; cv=none; d=google.com; s=arc-20160816; b=qG0DI0xPKVf2sDL0RO0dd9AG+J0S0tabyQkLKm5MHEzySOUmKwzZsybhqbc+yhkMJo DsjFY+lDlaJOySKKMHv+mbL+At+3Xk9wAcvKyWEc4JKi8SijDOkv5Sjc+PE2FloEOSuj 7pe84fkcw6F1qJ1OGB53wW+hM14nAeLM/BYIEoaBskXnFmUXUsEm/EYYPVda7y03Z0Nb 5d4PmgsDJnmgktmCmHSiSu7o+enm6HOa5mKyznqC4VfZrvgjRqdbSeIyJVouaDFl4ATY 2qyl33ffiKhBT+Cjo6xeEHw/eg+Le5lIW8ydZFmJJpkbUmzFmcmrhyP3R1voFOP9nxdp a0jQ== 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=kgNjS0UJ131zlOU05vdNu0piWj8Kc+9WkSNT0ATjhBg=; b=YNo6GAvX3ZmndhvXFwbA4fTifY0ZorhQDY8s/AN2ZAzZYir9t2Z3XN7tjVO07znTWB 3kRecBDx56T8Z5NcniZpvwSZlgcMyje7Tt4a4wW2Ur4L7ZEdPVomO9OPiGxFbosAYbOw 3w4dr1uXBxP/Athw2ayHWMj5DZyV/iC+yEOC+fvaqzPdSLqb+rPfMFMykMgciZGbJTaD 7xTwiA6XB5TFiBHgM9cs1yEYvqBAD9/wPc1UsIjzFNYyVI80KA4H/18W7Cq6VAxTs157 7sNWOb0gjvmVenxMVWklMt+9zXyzhg4SfwPjQ1ppDRQZAea5AsJjzzWgyPofx/vV3f7n SnlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=V994F+sA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a631355000000b00476759b8788si12749992pgt.861.2022.11.21.17.54.31; Mon, 21 Nov 2022 17:54:42 -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=@chromium.org header.s=google header.b=V994F+sA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbiKVBMf (ORCPT + 92 others); Mon, 21 Nov 2022 20:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbiKVBML (ORCPT ); Mon, 21 Nov 2022 20:12:11 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E064E2228 for ; Mon, 21 Nov 2022 17:11:52 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id 71-20020a17090a09cd00b00218adeb3549so4528357pjo.1 for ; Mon, 21 Nov 2022 17:11:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=kgNjS0UJ131zlOU05vdNu0piWj8Kc+9WkSNT0ATjhBg=; b=V994F+sAbbaG5E7x6m4RuvkETBRWaQ2OdqDr+K4OemduSvQxL9GSU0gAHNud7osy5S lNQ/SGBI3eYMAmF6jANPc+6Ge6Qfeqnt/w30b+qNo2wBoJHf3R37grdqjyUjP/g8Jn0Z /p6+fX4DCuj67fvBqABSRBwyEV8QXodataSLo= 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=kgNjS0UJ131zlOU05vdNu0piWj8Kc+9WkSNT0ATjhBg=; b=qo/R5qunTDkTKwjNbAA8XUhYZEEr0MBPZpe2sACHmAvGw06ncY3RiK19aaahNbh1p5 V5tPI6tcFPL+iKtcmNQitAbnIsOr3lnvgJNpGQ6l9YxvoN+UfDEpULOHXs3baizwuYnQ BqvvTbbNgP0hVxyw3axENzR41YCUeuNhu+O4KqveVXVqI2LCEqh6JWIBHVqsMVisouc1 pgiVjGZ3roDk2/BDiCfzOPgMcV2AePbRuitD2aBXDDqwIoGmQmC743YWif2ffUZzrPcM AuCuWlIn5tKswYEAVH1KWD623tiajwa4q1dB4b24ZNypmUe0kEDegqdOjmdzKIJLrXSx Zh0Q== X-Gm-Message-State: ANoB5pkM4nYcRnJU8GfQONe6B85i/5XXBRKBZWu2GKuPVeRx5mGdyxw/ 1qrLw/4tVSXVVsB48Ic2izVQ+svB6Y9Meg== X-Received: by 2002:a17:903:2144:b0:188:a1eb:9a8a with SMTP id s4-20020a170903214400b00188a1eb9a8amr5830618ple.153.1669079511939; Mon, 21 Nov 2022 17:11:51 -0800 (PST) Received: from google.com ([240f:75:7537:3187:e258:71ac:37b7:2d52]) by smtp.gmail.com with ESMTPSA id o71-20020a62cd4a000000b0056cee8af3a5sm9296579pfg.29.2022.11.21.17.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 17:11:51 -0800 (PST) Date: Tue, 22 Nov 2022 10:11:46 +0900 From: Sergey Senozhatsky To: Johannes Weiner Cc: Nhat Pham , 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: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 (22/11/19 11:39), Johannes Weiner wrote: > 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 :) Yup looks good :)