Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1107324pxb; Tue, 1 Feb 2022 18:45:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCqUGNM+wTcLYIM4nzV/Oa4zOVL4JXc2L+3aZ1V6Unbe3ZCmJUABVd3A4myYnMQweu4/zB X-Received: by 2002:a17:907:97cd:: with SMTP id js13mr23334030ejc.41.1643769921145; Tue, 01 Feb 2022 18:45:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643769921; cv=none; d=google.com; s=arc-20160816; b=dwIBKxzjqTRYGH3CnHjbQGe0O9RitAwUnnw8LyqbbU+K7w/lWYn56aNXZaCP+O8+rS ri398iwJayTtPqdzTwhBuyGwlYIeijBM/YAaRkidCuhT1jTckS5m/JKzw40QNl1Cr7Ew eXbwHLvdVuveMyXpQjHKLzZPL7v+dxgHhl8zANP7oM7T2HYi4xAgqvvjussxkXPZ8MeR R4IS2/fSDhqv4bZiaYzv1QStg+66mmeRP7RrCu4DHmZOGVBpSafXAcZiTKdCo+iQiZkw RcEHRBlXowSOlL2VFKNyZujjp9Ggj67ODse2nk8vLP/vWI6VDeX9CvS9D4a+fBopO1l/ +O1g== 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=z5a1UA3AmbqOXaqFeyJhuFNz4swNgX216lj5ZDFGhKs=; b=hBul/89WAoIh4HPIS3BZzEdRzhU8Ypbrpnpd2FQF5TgJLi6Fh9fwL8oV7L+oBT2L4y rwrhN7xFiAvoqI/9X+Wzy9IHUWd3z5JAi7epGDQu4zdSVjWTH7I/yMyLcS/70piIgIbl +kVuSgiWsB+nmkw9ZTlT1sn8LzfiYyz74enQiIVrZ1VzwmJnv8TK2xB6X63YWwBQmDh8 eAMnea4rG07DefPEg3os4Me8nQLK3UQu8wNVI5ojRCttDej/SIuuWG3HvpG84xjHkEDP wb0bNQ1jzE6nrLWD4BumU++jgeemvBstPblWtEx1JqTibWZ1DAZ67po+/ksm+mOsYJXm uHVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=golD3uou; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si10117877edr.620.2022.02.01.18.44.56; Tue, 01 Feb 2022 18:45:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=golD3uou; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232249AbiBACNh (ORCPT + 99 others); Mon, 31 Jan 2022 21:13:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232077AbiBACNg (ORCPT ); Mon, 31 Jan 2022 21:13:36 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EC68C061714 for ; Mon, 31 Jan 2022 18:13:36 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id j2so30645018edj.8 for ; Mon, 31 Jan 2022 18:13:36 -0800 (PST) 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=z5a1UA3AmbqOXaqFeyJhuFNz4swNgX216lj5ZDFGhKs=; b=golD3uou61gyyuK2ClpPfQPeMByIwIfGy+a7BC6fFu9rrj/T68DWSrynlXOEWwUtX+ 5dN3KFTradKVC9DShueDJciw/xAndf4MaR2jxNfJpz0RRaYkEmZyQLpB7va6Jls1ipEv XVyggpJaVrEYUCoffC6KcQg2evhZdKFHt35YjbGvTpUwoo4sOHQKy7XHnOvp0bqmKKRE xFokZaJXFcOQIDPvUJ2C/OGdlTSOC8JJoBm/0AA8mZJdLVEWMVrtgdJo1QwQzllKQ6oE mU4K/0SPD/tn2xVKtPv24/3MtQ9s883pGnZll+50x6ZlN5bmtKkZRyf5VI/oXw564NCa 2qTg== 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=z5a1UA3AmbqOXaqFeyJhuFNz4swNgX216lj5ZDFGhKs=; b=PU7CLQVceDy3yFNrzJ/I95fH9stUCLukBy74LUx/QFaqEg8i47JUyoycT42NtkKrc6 A9+yuCA1ZX+fP+b1TkrMONxD/vt80nkAThwHfAFfoJkNMF2Sot32slasBK6KgqG3Tu8+ gUoNmECWvmbEPSPaFEHI618wCpPbePDGXWsvtyxXmw3+wBqVKuHKoJ4EVCrZuCmha73e wbBHZmUoXaPiPGupHMCn1OwnqwmGC+Wp1f2MGdi4FJJge6MMehtQ2SUOTb6AQ22w6Et5 lcCma/oYbX/BDtiBUMa6NVGT995XmY4N3p3v7zXVK8jjWJY3CkihY3LZAdd8e3n3r+G8 3TlQ== X-Gm-Message-State: AOAM5312221PjUpMlpP+0oTiFKKCcZy3GY0qNceYA9haX1ChZWrtn5fT rtprduV+icPhDVS8Zyjfok8= X-Received: by 2002:a50:fd14:: with SMTP id i20mr23453496eds.122.1643681614916; Mon, 31 Jan 2022 18:13:34 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id w25sm18618783edv.68.2022.01.31.18.13.34 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Jan 2022 18:13:34 -0800 (PST) Date: Tue, 1 Feb 2022 02:13:33 +0000 From: Wei Yang To: Michal Hocko Cc: Andrew Morton , linux-mm@kvack.org, LKML , David Hildenbrand , Alexey Makhalov , Dennis Zhou , Eric Dumazet , Oscar Salvador , Tejun Heo , Christoph Lameter , Nico Pache , Wei Yang , Rafael Aquini , Michal Hocko Subject: Re: [PATCH 1/6] mm, memory_hotplug: make arch_alloc_nodedata independent on CONFIG_MEMORY_HOTPLUG Message-ID: <20220201021333.tyw5fxsvymqxudsp@master> Reply-To: Wei Yang References: <20220127085305.20890-1-mhocko@kernel.org> <20220127085305.20890-2-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220127085305.20890-2-mhocko@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 27, 2022 at 09:53:00AM +0100, Michal Hocko wrote: >From: Michal Hocko > >This is a preparatory patch and it doesn't introduce any functional >change. It merely pulls out arch_alloc_nodedata (and co) outside of >CONFIG_MEMORY_HOTPLUG because the following patch will need to call this >from the generic MM code. > >Acked-by: Rafael Aquini >Signed-off-by: Michal Hocko Reviewed-by: Wei Yang -- Wei Yang Help you, Help me