Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7194576yba; Thu, 2 May 2019 06:02:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfhyMdKI/LqYkTVtVvO970IVA5mIwfUmFlPfkN5V/j0562uM5SW4iRDrqMJ2GCAOrwBeoO X-Received: by 2002:a17:902:4283:: with SMTP id h3mr3548470pld.176.1556802149693; Thu, 02 May 2019 06:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556802149; cv=none; d=google.com; s=arc-20160816; b=K1V0VUCj6F8YiB3WKTXx/0L1vpNSX/PetTfNqFPTl8dJjtNvvewsMjj/TrwA35G5cv bKqJjQfRZLCnMQHVS+JMhxtgWtx5em2rGgs9erdpEryyh/Xj3um5P1xJj+/7Rdo41NIe iTLvatIAI0BogyQGPMTy9/9fePx51CsywGHSCVWTa169U7eTisTuErdhySxB5TUrEO7o 318Yu48gmIUVLgPQjPKBRNfHWbqw0uuPTwuxtdeR3TeXLVsjX1+67RruGZoUEO1LyKkY 6xCUMbyhOTvVgNOdp2+HUDjT3HeRRWtx16PNXNWCBpbYwM8DNMrGt7H50HEI+RGUb1m7 7Gyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rkWR9X3/gvNJuqhYdo8wHnyssnAbedXHHTz/2HdMD+8=; b=jsJJI2XpL7u98qA/gXSoNvSCCl+3fFm6dqrVD9l8HjwwhkJO0Od5cobgeXrSJjWDgG ddPeUJWqhMVXZItFR7gHIloqHVp3Cq+2tbypZ1caTRZJ/RZm9kPvTv5RRnpo6dyOWBcM 0Bc86Os58ceNhXoWB6bL+zO6uItGnKCtf/2gt0jIZcG0byP9+OgtoBaWqRgGirjNEby7 XqJN+iRLNnybgEgU+yuDQfK+13RiL1QtoojkF5HaMhhOq+0hpnO+XRMi1OT5zfV0OqjT gQL/VdJqwRXBVji3nd0IaILP1d4dE402yumIoN5ZT7BsR+H4qEQfeJp1PRBWXx1sTPdw O26w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si18555592pgs.402.2019.05.02.06.02.12; Thu, 02 May 2019 06:02:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726551AbfEBNAg (ORCPT + 99 others); Thu, 2 May 2019 09:00:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:36218 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726270AbfEBNAg (ORCPT ); Thu, 2 May 2019 09:00:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7A7E5AEF9; Thu, 2 May 2019 13:00:34 +0000 (UTC) Date: Thu, 2 May 2019 09:00:31 -0400 From: Michal Hocko To: Barret Rhoden Cc: linux-mm@kvack.org, Pingfan Liu , Dave Hansen , Peter Zijlstra , x86@kernel.org, Benjamin Herrenschmidt , Michael Ellerman , Tony Luck , linuxppc-dev@lists.ozlabs.org, linux-ia64@vger.kernel.org, LKML , Ingo Molnar Subject: Re: [PATCH 1/2] x86, numa: always initialize all possible nodes Message-ID: <20190502130031.GC29835@dhcp22.suse.cz> References: <20190212095343.23315-1-mhocko@kernel.org> <20190212095343.23315-2-mhocko@kernel.org> <34f96661-41c2-27cc-422d-5a7aab526f87@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34f96661-41c2-27cc-422d-5a7aab526f87@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 01-05-19 15:12:32, Barret Rhoden wrote: [...] > A more elegant solution may be to avoid registering with sysfs during early > boot, or something else entirely. But I figured I'd ask for help at this > point. =) Thanks for the report and an excellent analysis! This is really helpful. I will think about this some more but I am traveling this week. It seems really awkward to register a sysfs file for an empty range. That looks like a bug to me. -- Michal Hocko SUSE Labs