From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 104CDC433E6 for ; Fri, 12 Mar 2021 10:34:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 45FDC64EF6 for ; Fri, 12 Mar 2021 10:34:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45FDC64EF6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 875A58D0317; Fri, 12 Mar 2021 05:34:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7520A8D0348; Fri, 12 Mar 2021 05:34:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 556CF8D0317; Fri, 12 Mar 2021 05:34:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0105.hostedemail.com [216.40.44.105]) by kanga.kvack.org (Postfix) with ESMTP id 31AF48D0346 for ; Fri, 12 Mar 2021 05:34:41 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D94EF181D5538 for ; Fri, 12 Mar 2021 10:34:40 +0000 (UTC) X-FDA: 77910863520.20.75AB035 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by imf28.hostedemail.com (Postfix) with ESMTP id 57CE02000390 for ; Fri, 12 Mar 2021 10:34:41 +0000 (UTC) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lKf7u-0007WV-01; Fri, 12 Mar 2021 11:34:38 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id E1643C1E4A; Fri, 12 Mar 2021 11:27:09 +0100 (CET) Date: Fri, 12 Mar 2021 11:27:09 +0100 From: Thomas Bogendoerfer To: Huang Pei Cc: ambrosehua@gmail.com, Bibo Mao , linux-mips@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Jiaxun Yang , Paul Burton , Li Xuefeng , Yang Tiezhu , Gao Juxin , Huacai Chen , Jinyang He Subject: Re: [PATCH 2/2] MIPS: loongson64: alloc pglist_data at run time Message-ID: <20210312102709.GB7027@alpha.franken.de> References: <20210309080210.25561-1-huangpei@loongson.cn> <20210309080210.25561-3-huangpei@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210309080210.25561-3-huangpei@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: 77jrd4yocw66xp6eqmynt5whg5j5oyrr X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 57CE02000390 Received-SPF: none (alpha.franken.de>: No applicable sender policy available) receiver=imf28; identity=mailfrom; envelope-from=""; helo=elvis.franken.de; client-ip=193.175.24.41 X-HE-DKIM-Result: none/none X-HE-Tag: 1615545281-316307 X-Bogosity: Ham, tests=bogofilter, spamicity=0.053958, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Mar 09, 2021 at 04:02:10PM +0800, Huang Pei wrote: > Loongson64 allocates arrays of pglist_data statically and is located > at Node 0, and cpu from Nodes other than 0 need remote access to > pglist_data and zone info. > > Delay pglist_data allocation till run time, and make it NUMA-aware > > Signed-off-by: Huang Pei > --- > arch/mips/loongson64/numa.c | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-) applied to mips-next. This patch looks independant from the first one in this series (that's why I've applied it). So please post such patches as single patches and not as series. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]