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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E4B3C433EF for ; Sun, 10 Apr 2022 12:28:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5FB226B0071; Sun, 10 Apr 2022 08:28:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5AA8C6B0073; Sun, 10 Apr 2022 08:28:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 472946B0074; Sun, 10 Apr 2022 08:28:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 33F576B0071 for ; Sun, 10 Apr 2022 08:28:07 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id D8A3720DEA for ; Sun, 10 Apr 2022 12:28:06 +0000 (UTC) X-FDA: 79340896572.19.2E27176 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by imf18.hostedemail.com (Postfix) with ESMTP id D1AF21C0004 for ; Sun, 10 Apr 2022 12:28:05 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4KbrqQ5y3sz4xQq; Sun, 10 Apr 2022 22:28:02 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Srikar Dronamraju Cc: Michal Hocko , Geetika Moolchandani , linuxppc-dev , linux-mm@kvack.org In-Reply-To: <20220330135123.1868197-1-srikar@linux.vnet.ibm.com> References: <20220330135123.1868197-1-srikar@linux.vnet.ibm.com> Subject: Re: [PATCH] powerpc/numa: Handle partially initialized numa nodes Message-Id: <164959362780.1306388.11008061889619945324.b4-ty@ellerman.id.au> Date: Sun, 10 Apr 2022 22:27:07 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Stat-Signature: pt75fmsi3hhwng86wu7641j3imncdfos Authentication-Results: imf18.hostedemail.com; dkim=none; spf=pass (imf18.hostedemail.com: domain of michael@ellerman.id.au designates 150.107.74.76 as permitted sender) smtp.mailfrom=michael@ellerman.id.au; dmarc=none X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: D1AF21C0004 X-HE-Tag: 1649593685-69753 X-Bogosity: Ham, tests=bogofilter, spamicity=0.274865, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, 30 Mar 2022 19:21:23 +0530, Srikar Dronamraju wrote: > With commit 09f49dca570a ("mm: handle uninitialized numa nodes > gracefully") NODE_DATA for even a memoryless/cpuless node is partially > initialized at boot time. > > Before onlining the node, current Powerpc code checks for NODE_DATA to > be NULL. However since NODE_DATA is partially initialized, this check > will end up always being false. > > [...] Applied to powerpc/fixes. [1/1] powerpc/numa: Handle partially initialized numa nodes https://git.kernel.org/powerpc/c/e4ff77598a109bd36789ad5e80aba66fc53d0ffb cheers