Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2431505pxb; Thu, 3 Feb 2022 06:35:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyz0K69Sf+2TPZIJvI5NJS5qj7Qt+aGrjycCejAQm5ag9p8SAV7ObTVNnMVU+gE6HQXb40i X-Received: by 2002:a17:907:7246:: with SMTP id ds6mr29846537ejc.212.1643898928912; Thu, 03 Feb 2022 06:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643898928; cv=none; d=google.com; s=arc-20160816; b=BpzEkuR+NPN0NHN6R0LfnSzTC2QYKYwuhjXvkN+gGp5K1bkF28C3nhc7DxbnT1UcAs FI+pZUd9Mw9A8ma09ZFEqy2Tfozpdr5E+y1WqTxrfktKON59vKgfilR9sEWPiP5pY0gm jnKBFbVccxKtoo/sc3Vykg3j218e9z/wVRtqBrIdyvZE4eItYX0QQ4HWn1A85MDeCMq5 vKrRagzeMo4z6db5oqppUtoUhpYbTKYiipezjld5LeHCcNzXK6AqCquqPkanZPC/WRvx 4J+3Mvt6dka05GD5WydqECkJF7OxjaFtXNKCahSzof374EprlsOnvY8uxc5ISUgJTaTD x3vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=ymO1ny2VTg5adVGUcFKdR8rnoVLduAifRMEj7/KChjk=; b=nDTOrcafx698zgZ79ct1DY4yCFuUcxXPZ2x1jI0docKyjNeGwAhzEZQbkb3LQfCZbI H5ccrb9dEzdlplVW6fH9a9/QJW1ffP47QohCC01MwiO1EUEiZXbHoZqfy5d7O8RH+DeM dMss3EjGZpbUryZowdSEvO96RfKGxGiJD6WoBjhCDHKTxtUOfwNt0JjPjSAyk2CuVYuq /4juFeOebz3rQy5KPMGjr80EWrAynAywZm3RljwksEEtd4sG7gQrGWjMG6uZoPfyTgwe N+L6hsSUdN5aavc7QYGvfTzFRtjISNlsi60EuhlKZzOV30LWj8qgom/p6CJxW8TkQ6Dq QHng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VdrkT2ve; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn12si14299289ejc.632.2022.02.03.06.34.56; Thu, 03 Feb 2022 06:35:28 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=VdrkT2ve; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237231AbiBCJVJ (ORCPT + 99 others); Thu, 3 Feb 2022 04:21:09 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:31406 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236784AbiBCJVH (ORCPT ); Thu, 3 Feb 2022 04:21:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643880067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ymO1ny2VTg5adVGUcFKdR8rnoVLduAifRMEj7/KChjk=; b=VdrkT2veT36yasmjpMSHS+go5ipTPqKvBGAkVUYGqxcWGPrhbMjO44xIdJt7jJARJIPV/N S77NZIyvru1TrYCUMVkHwHFIMWVpEOpRsRyShuJu/LEHyk2o7Q06IkD4/PTcQUlSs/nV6Q Teov4FfutvMaeFC2FScv9z7oCzIXbWw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-583-xwWMekf6PEOZM9_6G_DkOQ-1; Thu, 03 Feb 2022 04:21:06 -0500 X-MC-Unique: xwWMekf6PEOZM9_6G_DkOQ-1 Received: by mail-wm1-f70.google.com with SMTP id l20-20020a05600c1d1400b0035153bf34c3so5551869wms.2 for ; Thu, 03 Feb 2022 01:21:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=ymO1ny2VTg5adVGUcFKdR8rnoVLduAifRMEj7/KChjk=; b=SGgGzAtr81NtyGxLOr095Fymo60daLvD+jNqWn7NDJ/YQSNYhMRg+iZ9Wwrz3imAGh hQsaL7N7HHYQ9INXhWbnR+WiNwxlw2hzN2qx1LTePnG73zfRholfE+WiifwvCQhhpc3A fkjeUXLsTzwT3dW4o8Imo0qC542QaNk2zt9L9r0tLI3cFyVgHX+6MgoxvO+CIBBpuvrv igi4j5KNKc3WLPR75Ul45ulYXJW+fbLWZzxLSYP8lJygFK/R8ChB5eqnxmH/qrixv9zc Kk4SqL3gn/NASJEngifEXY0Qbtx2rhtcDJqdxseEns0kgSPqG29G41Iot3yz3QeTDCmN jdvA== X-Gm-Message-State: AOAM531i4C0DOv4h0lVhAr+7NoK4QgSW73qzPPuKyUbHrqPscefQjDE4 x6hNwY2nn/L/lTGJhjWsG3U7892peVT7S48nZRt2VvgPatktcN5gEAgUuAZbgEdt+BYMf8dYsBH mIOvLkpzwIyqcW8TLCcejtkoe X-Received: by 2002:adf:d1ef:: with SMTP id g15mr5897392wrd.399.1643880064860; Thu, 03 Feb 2022 01:21:04 -0800 (PST) X-Received: by 2002:adf:d1ef:: with SMTP id g15mr5897365wrd.399.1643880064649; Thu, 03 Feb 2022 01:21:04 -0800 (PST) Received: from ?IPV6:2003:d8:2f11:9700:838c:3860:6500:5284? (p200300d82f119700838c386065005284.dip0.t-ipconnect.de. [2003:d8:2f11:9700:838c:3860:6500:5284]) by smtp.gmail.com with ESMTPSA id x13sm19426733wru.28.2022.02.03.01.21.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Feb 2022 01:21:04 -0800 (PST) Message-ID: Date: Thu, 3 Feb 2022 10:21:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH 2/6] mm: handle uninitialized numa nodes gracefully Content-Language: en-US To: Michal Hocko , Mike Rapoport , Andrew Morton Cc: Wei Yang , linux-mm@kvack.org, LKML , Alexey Makhalov , Dennis Zhou , Eric Dumazet , Oscar Salvador , Tejun Heo , Christoph Lameter , Nico Pache , Rafael Aquini References: <20220127085305.20890-3-mhocko@kernel.org> <20220201024119.2ailcw4rp5thambz@master> <20220203002116.akpk5um5nkpeflve@master> <15ad305f-a147-4a9c-35e5-bb0a868499ad@redhat.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03.02.22 10:19, Michal Hocko wrote: > So we will go with the following. > /* > * We do not want to confuse userspace by sysfs files/directories for node > * without any memory attached to it, so this node is not marked as > * N_MEMORY and not marked online so that no sysfs hierarchy will be > * created via register_one_node for this node. The pgdat will get fully > * initialized by hotadd_init_pgdat() when memory is hotpluged into this > * node > */ > > OK? LGTM, thanks! -- Thanks, David / dhildenb