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=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 74116C433ED for ; Mon, 12 Apr 2021 09:19:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E05B76121F for ; Mon, 12 Apr 2021 09:19:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E05B76121F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5563F6B0036; Mon, 12 Apr 2021 05:19:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 52C6D6B006C; Mon, 12 Apr 2021 05:19:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3CDE06B006E; Mon, 12 Apr 2021 05:19:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id 1D8656B0036 for ; Mon, 12 Apr 2021 05:19:24 -0400 (EDT) Received: from smtpin32.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id CBCD08249980 for ; Mon, 12 Apr 2021 09:19:23 +0000 (UTC) X-FDA: 78023166606.32.2B309C7 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf14.hostedemail.com (Postfix) with ESMTP id 43A7CC0007D6 for ; Mon, 12 Apr 2021 09:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618219162; 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=TKAiLP3d+p3qCAebqqPZXHK9shFNXxv2cv7bg8EEuys=; b=VvxLLRq3vbMYzr1SN0ITIr0IsjGJOZHToLHpGlx+SIRNlC/JepxQLilJTZ+HeGiFxQnj3y 62vMiaTgw3HnVEJL8KHc9SeeTb2+mMIhKRRCj7+BszuzxI163/j05AkTK3ZSnaIEYN029h we/XvN3vZW1+79EKVEIvJDG+pVU7Itw= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-130-tS4vr8t3MBmahnmLzTm_3A-1; Mon, 12 Apr 2021 05:19:19 -0400 X-MC-Unique: tS4vr8t3MBmahnmLzTm_3A-1 Received: by mail-wm1-f72.google.com with SMTP id v5-20020a05600c2145b029012bdd9ddcb7so40156wml.1 for ; Mon, 12 Apr 2021 02:19:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TKAiLP3d+p3qCAebqqPZXHK9shFNXxv2cv7bg8EEuys=; b=NrkyrvBP+284pB3Zb+QpAZnpdxftJfAZjoOiU14wiruMRdFpgp0/RUbnSgJyzxFH+M WgLjWRbV9FWT2fUlwxhxS9Z9yflwIh7w+Hq9pvrtCY+afaLkLvvARZPOoU2Wz3mNjufQ jtqkwrFomMutHCsRvngKeC5FHlHRCb4w9X05zRcaAh6YAyL88kxs7KK+jM6qK2kwKyKj PTdU71kJHkfcFbwxL2QGmZ7u6DSbrJNs2JGBiv3FIQKaiJeCWIAFG+20yphSi34CEwPi tXMa99o7ElQgZbjEPgLALfVXx+vUBHhSxUbL0EKqMPec9LyzjrnBlwkrX6X6+nhUuMqx wYsg== X-Gm-Message-State: AOAM532nh8eLnlifcsunLMRigLCo18mC0ji3b6h1WX0pQgo48VWmcx8r UrUFd1O9LQxJtn1EIBpDDBwRDTP7iSybOdlpC7yQQq26wiSQ7IDxWwtYcb/Rt1CxtRe2nl7BEsx ugCnnrgfBuRY= X-Received: by 2002:adf:f504:: with SMTP id q4mr14593093wro.304.1618219157896; Mon, 12 Apr 2021 02:19:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkc92meKZVnFz3CUz8Q/mlmcd1iRAJgSFlsHnsjowjeNvC4W+VqN+qkhxRypPj+eRHVnDSAA== X-Received: by 2002:adf:f504:: with SMTP id q4mr14593064wro.304.1618219157618; Mon, 12 Apr 2021 02:19:17 -0700 (PDT) Received: from [192.168.3.132] (p5b0c66cb.dip0.t-ipconnect.de. [91.12.102.203]) by smtp.gmail.com with ESMTPSA id 24sm13732412wmg.19.2021.04.12.02.19.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Apr 2021 02:19:15 -0700 (PDT) Subject: Re: [PATCH 03/10] mm/migrate: update node demotion order during on hotplug events To: Oscar Salvador Cc: Dave Hansen , linux-mm@kvack.org, linux-kernel@vger.kernel.org, shy828301@gmail.com, weixugc@google.com, rientjes@google.com, ying.huang@intel.com, dan.j.williams@intel.com References: <20210401183216.443C4443@viggo.jf.intel.com> <20210401183221.977831DE@viggo.jf.intel.com> <20210409101400.GA32159@linux> <20210412071936.GA27818@linux> From: David Hildenbrand Organization: Red Hat Message-ID: Date: Mon, 12 Apr 2021 11:19:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210412071936.GA27818@linux> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 43A7CC0007D6 X-Stat-Signature: 3i1ct51hxsnznpdghygo73r7gqgnfsn7 Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf14; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=170.10.133.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1618219156-561569 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 12.04.21 09:19, Oscar Salvador wrote: > On Fri, Apr 09, 2021 at 08:59:21PM +0200, David Hildenbrand wrote: > >> The only way to add more System RAM is via add_memory() and friends like >> add_memory_driver_managed(). These all require CONFIG_MEMORY_HOTPLUG. > > Yeah, my point was more towards whether PMEM can come in a way that it does > not have to be hotplugged, but come functional by default (as RAM). > But after having read all papers out there, I do not think that it is possible. > You mean e.g., configuring in the BIOS/firmware how an NVDIMM will get exposed to the OS (pmem vs. RAM). I once heard something about that, not sure if it's real. But from Linux' perspective, it would simply be System RAM and it would get treated like that. -- Thanks, David / dhildenb