Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5455725pxb; Mon, 28 Mar 2022 12:43:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYLixzp0W2M35AUrwYFUJ9azsHRgr/ApsTazZxT5rdqpVpeDrklXKRTdnKJr4pETAykcpR X-Received: by 2002:a05:6808:1485:b0:2dc:d320:ce57 with SMTP id e5-20020a056808148500b002dcd320ce57mr425014oiw.298.1648496605113; Mon, 28 Mar 2022 12:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648496605; cv=none; d=google.com; s=arc-20160816; b=knIz6XmVlkMdmQuEqjDFxWT7cEDy1ZKVxZXfiNsHM/QYb1E3J5tlx0u+5CMHXulJ/s ucirVP48C6h76Yg13CeeeJDS+U2GlUFiLvZcG8FYUrMzvsTQdenbC0uR23ruXlR5gGis VczDNwIZIhwyZW/bo9KlhdH9T4gCKvJKBlYKvW8FmduwrMPwdGCzoWpqntMYNM+652hv yNkZBkM4tztsDLG6xHZHL24WTGFCrkCDgHwxayxFFQbTLA2WcgDy1g+v+MqyjFjb3s0M 4GUhcIwA6wYBb/nLmO6pQ7r90nqYTg1Ofl+G5Et2d/Hs6To3F/PrFCWRQZ3UqnX8mfz0 gltg== 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 :dkim-signature; bh=+vB3veO+w1AVdDAZ0JQhhQ3DjaQr7v+h/WkhgJ35PGw=; b=FbTBL3u6YZXmeOrUQ+SO93O8QhIwg9CZkxWU5jowW35nRRnIGJvKXUdME7wO/S9BGd i0zXSkhpzb5QYhQc+LOYf35J3Zal6K1UCoWeY9bdFebSuARIQ+fdQpy22fzotq6VvmYQ EqHEvivBUqFn9l3jDelKsIaGOK2JXv+JsEFu9cveXJP3IdpwrA+yoGyT0qt/QhSKdilK /Z6scSVKWvjOwjwBawFyoHzqWST+QNW/9nNWN7ytHFacIvkTyWswtsWZ/f9XqGN+V0A+ txqU5RWDri7TbR4y/gZXEbVmXIsiZii3zcxSCb5P9QMtBAfew2nhltnzfN73x/iu5tjc L29Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=vtdyileM; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e124-20020acab582000000b002ef0c3475fbsi9434030oif.123.2022.03.28.12.43.12; Mon, 28 Mar 2022 12:43:24 -0700 (PDT) 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=@suse.de header.s=susede2_rsa header.b=vtdyileM; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237865AbiC1IP4 (ORCPT + 99 others); Mon, 28 Mar 2022 04:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236644AbiC1IPy (ORCPT ); Mon, 28 Mar 2022 04:15:54 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3297BFD04 for ; Mon, 28 Mar 2022 01:14:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E38B9210DF; Mon, 28 Mar 2022 08:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1648455252; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+vB3veO+w1AVdDAZ0JQhhQ3DjaQr7v+h/WkhgJ35PGw=; b=vtdyileMsiHdQjXtZsBNq3VQd7NYxSTqvtpD+3ocgDKaovgWVAmpworFzvJcDUSp5uMyf1 QvCD17WtoZnghedU8Qa9q0C0Yn9x9OEqInx1pUEjyjt5tQK1IwcWz6yWME0kTwv3HupCz3 EYcK8xPP5He6PyWfcVPqWoTfU/CkrsY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1648455252; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+vB3veO+w1AVdDAZ0JQhhQ3DjaQr7v+h/WkhgJ35PGw=; b=cGtUK9BBZIGORuB+sT5IQyPvpZof6ulpigSinoQyDFSZmN4zdt+hnSngkQ2Wu7aeITRbOG TNccGsRtCq7H4XBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 587C013215; Mon, 28 Mar 2022 08:14:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id W79jEVRuQWInBgAAMHmgww (envelope-from ); Mon, 28 Mar 2022 08:14:12 +0000 Date: Mon, 28 Mar 2022 10:14:10 +0200 From: Oscar Salvador To: Wei Yang Cc: 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: 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: <20220327024101.10378-1-richard.weiyang@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. -- Oscar Salvador SUSE Labs