Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp193326pxb; Wed, 23 Mar 2022 16:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ8t9FkxwwM1SAtPTSUeivvhUIx0OD2mkUn2Le2kGCGUHjD0ZUfwp/1k7gzQ68TVn0OeIW X-Received: by 2002:a05:620a:742:b0:67d:3e67:b8ea with SMTP id i2-20020a05620a074200b0067d3e67b8eamr1565848qki.469.1648076841290; Wed, 23 Mar 2022 16:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648076841; cv=none; d=google.com; s=arc-20160816; b=IZkg5SV1pOhNPqVTsmr8MRdRSZ88xgIqpub2Bu7gXMrwaEKhbL6bqKcLffbd/pJnVz T22srRQoEf6WHHufMAbRpFF3vVWE8kTaGEhNBN1JbJhqCqGjJZuieiHrt6wbeY7VfvzK GVuFfuR4KxXlTunJZOpnTMYEWOw7dahCTMu3gX7NEFvYoQ1UHL691wMYhskDTcwN7IPX 3v/2S/rg4mupg1IDv6am6fe5I/Hfgsi4xSVnMJDk+YG35eWkDWXPRFJ2nPPS0GMJ/RNh njHXTpc+wl38hwqT15E+p2qYmSzmbOVaXvWPEgtxxsgj0T4DQgaeXAM6JAXT2U4uMgFy p64w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=66LQ3ESEON4kjTX6ZJheF0WPN8IKW8ZCNBd/bxE48GE=; b=kysvzvix8kL3GSboyoCSkq0izAxB8x+CkBueL5crdRbz8imygVxjSlO3yzF6/drwvm 5z+Q5/w48JwD3ipCJnXBN9NngpC2aowPHV4C0R+nAHZwHil4zP2Jpxsy9oPSZfIUkNr6 k0dyJ9JuVWTsW/KcjXnyiNNLnlm9D1RZU1JTgURU8oh6nJwDbkFIlZjvM6Z9l73IfmNl qUalOuIZI8SrAERxcPIK9gEy+LPdA3oyICIBVWdkryYqJnzabAKNkhvFvOFZL1FIZG3Y lx6J3haCCwVjH+2i3K6ORK6s+WhHyT3Oldg3BnTziBFUo4Gwd3gOKY8CilMHrovM52fq 6EGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E2Qojn6p; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20-20020a05620a125400b0067e4be23a3asi4311709qkl.639.2022.03.23.16.06.52; Wed, 23 Mar 2022 16:07:21 -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=@intel.com header.s=Intel header.b=E2Qojn6p; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240718AbiCVX7w (ORCPT + 99 others); Tue, 22 Mar 2022 19:59:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbiCVX7v (ORCPT ); Tue, 22 Mar 2022 19:59:51 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D26032CC92 for ; Tue, 22 Mar 2022 16:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647993503; x=1679529503; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=/GxhdKQcRNqZKx1OxrK2UpO2g0Q4Le5EpadCPUv1Y3U=; b=E2Qojn6pbYYVpCUXjTHGrwhZ6B5cr9oIaBTm3ZiNAkt1tO+tNZWSEM9s zMu1ek5+GGuOrntUgIdGz/CVQlTFrlxXcKaabHXvuUshg7YkgSrbrX54z EmUoihUT/fvSNyU44F97g88Jh1386SUMUaIhkHNyr1GXmCwzzQffEV8l1 USD9I/ACC/i0icVmfloW8VxfDKapd764PvgUAMyGJ4fqW08/Z272S4PwG 7voFA5Mce0bd9JPAGUAfXgV6FIiTKQTKp0pwAJYuHtI1pp4vPGmoR+6Z1 XoL/zvRzQdSLTSQZk20igb1YBjteYtuAFkzG/Asav27nquA0fJv8ey5LM Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="321182437" X-IronPort-AV: E=Sophos;i="5.90,203,1643702400"; d="scan'208";a="321182437" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 16:57:22 -0700 X-IronPort-AV: E=Sophos;i="5.90,203,1643702400"; d="scan'208";a="649222711" Received: from yhuang6-desk2.sh.intel.com (HELO yhuang6-desk2.ccr.corp.intel.com) ([10.239.13.94]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 16:57:20 -0700 From: "Huang, Ying" To: Oscar Salvador Cc: Andrew Morton , Dave Hansen , Abhishek Goel , Baolin Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mm: Untangle config dependencies for demote-on-reclaim References: <20220322224016.4574-1-osalvador@suse.de> Date: Wed, 23 Mar 2022 07:57:17 +0800 In-Reply-To: <20220322224016.4574-1-osalvador@suse.de> (Oscar Salvador's message of "Tue, 22 Mar 2022 23:40:16 +0100") Message-ID: <87ils535ia.fsf@yhuang6-desk2.ccr.corp.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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 Oscar Salvador writes: > At the time demote-on-reclaim was introduced, it was tied to > CONFIG_HOTPLUG_CPU + CONFIG_MIGRATE, but that is not really > accurate. > > The only two things we need to depen on is CONFIG_NUMA + > CONFIG_MIGRATE, so clean this up. > Furthermore, we only register the hotplug memory notifier > when the system has CONFIG_MEMORY_HOTPLUG. > > Signed-off-by: Oscar Salvador > Suggested-by: "Huang, Ying" LGTM! Thanks! Reviewed-by: "Huang, Ying" Best Regards, Huang, Ying