Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5801089pxb; Mon, 28 Mar 2022 18:01:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyzgqjiN2/eoQs8m+RwRLk0cLOXV9tD0VPns4PG+yaMbSnRrCgVa08PfvIcb7KJ0/kI6HZ X-Received: by 2002:a05:6808:15a2:b0:2d9:df7f:e6f2 with SMTP id t34-20020a05680815a200b002d9df7fe6f2mr990665oiw.94.1648515711298; Mon, 28 Mar 2022 18:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648515711; cv=none; d=google.com; s=arc-20160816; b=mkiqpdTCgT6UkptlhOS+MT7cnl1S6PxaBHcwS3FWXAZPuc4X6w601vrGRDEQdMKsEO i2m/FD1Zrn+W/wWiDwQ1sW1pkTUE25abU7uYkcKzHDHOxLvGA0FuH5sTBP008skRRdD5 HfK3z/Rh5VfO4lPh9Kvzaqe4kI13i0lWdgZEVSOX12uKQge74ejhAbVWwDkIummj8yfF Y5YNmEOzK1TnBc6w7TTh1B+b7g/845vWqzg4SOgIv3QqPNAA5bfINPmNJ8ww5Nrp5icV 4d/wU97JPwYWeHmXlaIq0/IK+HTy938QUqJInYTB8HFLpsUy+ScHT3xo+rwVDMcCQ/NO g7Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=2KkRgW8qJAAnPMyCiJ8EOME7H/pHXL44sx8xKCxSZzg=; b=Re0Zpwylll1VMVlEiu6wjJIK1jrY/QBgV6QsQJ2DDTkKtulhpNie556DkHM3jC7ci0 QoW2U5t9mLWtpCo4JcSQIgglnOWmIb79fVdOqvkXsd6P+rMU1qo5/6KKQicgsPaardxU h9jlMDxGXNteZ7cgAbbNGIMkjUuWED4LczBrm3tey6E6kCk7qrx8jlxPwyVENr3gx2F/ CTujaQTE2zX8+AYUVGK+oaXOB2PCU69gtGt8jQPfRI1na76sQsGavez4T4rDhhzPpd/A nWuSr7GWXDGge21bFQ5BBJ8xgYr4TgTvjXIhjlLG6T8UlRGExjmOZ1NOJulsFRBLERiz DKFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HFfcTsqm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q2-20020acaf202000000b002ef0c347689si9658675oih.265.2022.03.28.18.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 18:01:51 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HFfcTsqm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 464BA26AD4; Mon, 28 Mar 2022 17:49:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbiC2Aui (ORCPT + 99 others); Mon, 28 Mar 2022 20:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231519AbiC2Auh (ORCPT ); Mon, 28 Mar 2022 20:50:37 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCD5EDF6D for ; Mon, 28 Mar 2022 17:48:55 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id o10so32012904ejd.1 for ; Mon, 28 Mar 2022 17:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2KkRgW8qJAAnPMyCiJ8EOME7H/pHXL44sx8xKCxSZzg=; b=HFfcTsqmkj3HWmiGc/GrOX/rtjkgqqs5u0see8c078pjGfdUP+zhJZ2Yq0hFvakGCB kgUcuuVAjTWp3aTF0rxXxYRq4iJ3wnWlh2KMUyI7lo3ctLjG99DbG9KfeRNklKY3AMKH P1Q6dlRf1CiUaCbKwgiLaunWKNL29LeKmb8FIRB0WMu+Wl2xzGSIyIhWgl5ssqsYLIWw mZTuqRMfxI9BX0RTpPqpefp+nyFR0ddmDFXS/d4Eq6p0Kn0Oeaop6e6a7D6RzkOug4MF kKKFBTH+Czj8FmVsWlOPGk1GJlJ6cyzKS3TW1/A+QvYd5UzwtpJXGN8scLCQQNVGW7Gv 9KMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=2KkRgW8qJAAnPMyCiJ8EOME7H/pHXL44sx8xKCxSZzg=; b=a4owAREiFOGnyaoTVTCJ0m5h6KkwE0sLbyrJRhzMAhvoixzvZlHy3rkEb23iBmFT5V /yw+iuG3Rmh76Op4xwIYsU+xTHPCHKdTrs4rdiYYiHtvVxl9UpDwNpTvvnM5sU+kOAnx kGlHMrug09W8EA2ChbINZmMTfuRh6sBbFIiLeJs5ro7IePx6Ms8w7ueBOn0jQUWAZ2XQ ZR44u2RuYB/IiHrapP3VHpeV4cBXvhiot25RNgRo9mTqOXdPzbG4B1MviR6Hfg+H+3zy p4DHPfLRqwZ/thnQSTgClHhCkrTRPT7z7ZtAUqXtlY5UpMhEfDeKiKZOLk1ZcxZL16RV mrpA== X-Gm-Message-State: AOAM531NwUBW4RMFzKqcdRruqZ7KKR1fkE9Wagr3avq4Fjn9zz5vgXi9 UK54zaDfe78Fw81ZdAfm7qA= X-Received: by 2002:a17:906:7746:b0:6ce:a12e:489f with SMTP id o6-20020a170906774600b006cea12e489fmr30670831ejn.551.1648514934446; Mon, 28 Mar 2022 17:48:54 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id qk30-20020a1709077f9e00b006dfae33d969sm6468308ejc.216.2022.03.28.17.48.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Mar 2022 17:48:54 -0700 (PDT) Date: Tue, 29 Mar 2022 00:48:53 +0000 From: Wei Yang To: Oscar Salvador Cc: Wei Yang , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, ying.huang@intel.com, mgorman@techsingularity.net Subject: Re: [PATCH 1/2] mm/vmscan: reclaim only affects managed_zones Message-ID: <20220329004853.svpeohdxyav4joi2@master> Reply-To: Wei Yang References: <20220327024101.10378-1-richard.weiyang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, Mar 28, 2022 at 10:14:10AM +0200, Oscar Salvador wrote: >On Sun, Mar 27, 2022 at 02:41:00AM +0000, Wei Yang wrote: >> As mentioned in commit 6aa303defb74 ("mm, vmscan: only allocate and >> reclaim from zones with pages managed by the buddy allocator") , reclaim >> only affects managed_zones. >> >> Let's adjust the code and comment accordingly. >> >> Signed-off-by: Wei Yang > >LGTM, > >Reviewed-by: Oscar Salvador > >We still have some other places scattered all over where we use >populated_zone(). >I think it should be great to check whether all those usages are >right. > Thanks. This time I have checked vmscan related places, it looks all related part are fixed. For others, I didn't get a chance to catch them. > >-- >Oscar Salvador >SUSE Labs -- Wei Yang Help you, Help me