Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2902914pxa; Tue, 18 Aug 2020 00:40:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbGoonwwu/J0DGMxDGzqqYJvijNbMvg7otCWW42AQTPwjVx1RhzabBE4G7jiGcvK44YIjI X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr19323735edy.353.1597736435396; Tue, 18 Aug 2020 00:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597736435; cv=none; d=google.com; s=arc-20160816; b=rtBPZ/MITBmQzeWBsmhiaDnse4tq2g+ITBfKyIyKzbDPKN+CeofzoEIa6/JwVqaYRK 9qEY+RfAP2vsmQobfa6BPka6kEJUilBCNId02WqRHT+NOkVpKaeETWQLHFJBMQjRrWe3 452oIlEk37sqA7s6tUCYOinv3ML2rmG2EWHz0dBI4z5VDZVIo90lw+L54AhrrAGHolor l0l3VyEa6RnRnz8bv+kVUui4RlxRVsuzrV+UN1tHBFJrcUy3s55zcoHhYRQogdb5/hd+ eW1odk61jHVIdxdPVn4suWP+URBOp63m+nXA/7u/RwlGxBMS7WH8Nmiy3zIUvhe58TIG 1Esw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=E7kBpgG5xUdqzNTbmnsyF+H6eR7A0SGL5DNADSfaWW8=; b=cZZULdckmsC+Ya78bQ2b4OWlHx/rUaXsCeb8eo2tWfHgBD3QGaOMOyAexn45Dz3t45 UGAK5aZIT8GgF1F8QQ6C/Tw7ad0PMduM+VJRIvuTncOPeGO3xS1cT01d3g08M4tdEuEb mMuTVKVictFFwFK3aii+KPxMNIJ8pG12gZfWfvZiO0WIAAp2FdukMOewX84P9+aE3Yk9 TIYuR9kN7LCuGnhdXnTeWbDa4h/uStcBkk5Nck/2PjctOGNlVQsLWX7QXcnaYWTEZs42 n3F2lT4ZMS/3bRK9B+vCdndgxYRTnXKxEBafHROh/58HxpXCoWWwd5BRr1mJVJhq1mOI PfCw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s26si12737055ejv.28.2020.08.18.00.40.10; Tue, 18 Aug 2020 00:40:35 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726451AbgHRHhP (ORCPT + 99 others); Tue, 18 Aug 2020 03:37:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:48304 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbgHRHhO (ORCPT ); Tue, 18 Aug 2020 03:37:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 50B33ABCC; Tue, 18 Aug 2020 07:37:38 +0000 (UTC) Date: Tue, 18 Aug 2020 09:37:12 +0200 From: Michal Hocko To: David Hildenbrand Cc: Srikar Dronamraju , Andrew Morton , Michal Such?nek , Gautham R Shenoy , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Satheesh Rajendran , Mel Gorman , "Kirill A. Shutemov" , linuxppc-dev@lists.ozlabs.org, Christopher Lameter , Vlastimil Babka , Andi Kleen , "Aneesh Kumar K.V" Subject: Re: [PATCH v5 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline Message-ID: <20200818073712.GK28270@dhcp22.suse.cz> References: <0468f965-8762-76a3-93de-3987cf859927@redhat.com> <12945273-d788-710d-e8d7-974966529c7d@redhat.com> <20200701122110.GT2369@dhcp22.suse.cz> <20200703091001.GJ21462@kitsune.suse.cz> <20200703092414.GR18446@dhcp22.suse.cz> <20200703105944.GS18446@dhcp22.suse.cz> <20200703125823.GA26243@linux.vnet.ibm.com> <20200806213211.6a6a56037fe771836e5abbe9@linux-foundation.org> <20200812060101.GB10992@linux.vnet.ibm.com> <13a85e52-5caa-24a8-7169-3992b1ad262a@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13a85e52-5caa-24a8-7169-3992b1ad262a@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 18-08-20 09:32:52, David Hildenbrand wrote: > On 12.08.20 08:01, Srikar Dronamraju wrote: > > Hi Andrew, Michal, David > > > > * Andrew Morton [2020-08-06 21:32:11]: > > > >> On Fri, 3 Jul 2020 18:28:23 +0530 Srikar Dronamraju wrote: > >> > >>>> The memory hotplug changes that somehow because you can hotremove numa > >>>> nodes and therefore make the nodemask sparse but that is not a common > >>>> case. I am not sure what would happen if a completely new node was added > >>>> and its corresponding node was already used by the renumbered one > >>>> though. It would likely conflate the two I am afraid. But I am not sure > >>>> this is really possible with x86 and a lack of a bug report would > >>>> suggest that nobody is doing that at least. > >>>> > >>> > >>> JFYI, > >>> Satheesh copied in this mailchain had opened a bug a year on crash with vcpu > >>> hotplug on memoryless node. > >>> > >>> https://bugzilla.kernel.org/show_bug.cgi?id=202187 > >> > >> So... do we merge this patch or not? Seems that the overall view is > >> "risky but nobody is likely to do anything better any time soon"? > > > > Can we decide on this one way or the other? > > Hmm, not sure who's the person to decide. I tend to prefer doing the > node renaming, handling this in ppc code; Agreed. That would be a safer option. -- Michal Hocko SUSE Labs