Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2511742ybt; Fri, 3 Jul 2020 10:46:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+d2GmaRP6e3CSUt5Psfc/zCOordkAwa7hI3DkUOimsi9GYKdYXrn9Bbn7VYYjzoYukS5I X-Received: by 2002:a17:906:2e83:: with SMTP id o3mr29929097eji.261.1593798379343; Fri, 03 Jul 2020 10:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593798379; cv=none; d=google.com; s=arc-20160816; b=LXGTGk9rnea11cNRj8Xjuu7QgvvedpkebQUQJJPunpKMODVLNkk6bg0KfD5CLXQEem ++5Bvy9DYGULM9uMoMYv1sJjjj1dakxcynfzHnqPDo3CWWBItFnxWzY6DyzeZ+JwsXWr HQiUC0R3NEo1otGPj4R75wQkQrEEtWqg73UEDAqszgZFGHTP+RsmZ/JQGiNnbwS0Llqz QUpd7HJm1fsqyZPPEwaj2Qzv8vX1oKMja2vg9l5ddtbqhVJ3gPMPZTISriRkfNIUzafV B1C0Xwe7SXaXtDSg3mTIb8ctc5WVFyOOuo7aDWc/6mG3qmm+Oh8CRC4ucBb74n3G+uSS 6lKg== 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 :dkim-signature; bh=Fy9p+5xA2GSj8G8sVCzaAqMHkAqlb228bxWXUoSUq0M=; b=DYmhjcuiOomJd4f41TBo3yZhqUisn1w0YlUL5OyMwCYlg821vKjEBBCSaD3K9JwvFn L69dAtSOazE4GTyvqMHt2LXztpOFHXmYpbRZdADZbliqwWDajj7m+6aNFuLkoaqT8BI5 wsOy1WQoJfxeMS2pdg1+7ymerbfqkQQAhdqvlhLTVdUQYihvG5pxJ6k4jif1i2gp+WIa G/VPwv2ibuztHjgeiltlf+2H72cDTSF0xc0w1Jssx/zMV7bCa+XknIUZkP8KWMQnSrmp QGDyBPqh8e+ZBZpLti7QnaRPAC3J6NxNMbXgPnDFfTY6KDLGSVvAztMHNijVxHtIXBqu 3f4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ykZQ+w8s; 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 ci26si7923459ejc.715.2020.07.03.10.45.56; Fri, 03 Jul 2020 10:46:19 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=ykZQ+w8s; 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 S1726488AbgGCRpw (ORCPT + 99 others); Fri, 3 Jul 2020 13:45:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgGCRpw (ORCPT ); Fri, 3 Jul 2020 13:45:52 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A872C061794 for ; Fri, 3 Jul 2020 10:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Fy9p+5xA2GSj8G8sVCzaAqMHkAqlb228bxWXUoSUq0M=; b=ykZQ+w8sIHhism7zhf1uA+HXo9 FpE4c6YQPCvHHvlAiI58nPwFLQ7ZrOPbSD0vTloNUOC/03sf+CKniufA6F9Wmae8H3pC1bvRyBJIG 9TC2oH5MyZqkWCD8yNjc+VjoFVoA3b8wg9iVRFKLX6PNSVtvefu9pbFagAOuprqr/EViOmAXrDYTy SxqDrZfFxrM83ZK4myjYncQ0Cc7LCs0ABQzfUKgHNFA4st0OZXWMPGwry80j+2jrZvfdHDMonkRSA ET5KUc585SpYebEYwOn8IjAKDpR1NgxuAgADbX3korWWBPP8F6cZ9oQGqNBWKXxguauvqEr9X6YTM pSPncrrg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrPkr-0004B4-SP; Fri, 03 Jul 2020 17:45:42 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 60EA9304BAE; Fri, 3 Jul 2020 19:45:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4EE3520078FE1; Fri, 3 Jul 2020 19:45:39 +0200 (CEST) Date: Fri, 3 Jul 2020 19:45:39 +0200 From: Peter Zijlstra To: Gabriel C Cc: Uladzislau Rezki , LKML , linux-mm@kvack.org, Andrew Morton , Linus Torvalds , "Rafael J. Wysocki" Subject: Re: nr_cpu_ids vs AMD 3970x(32 physical CPUs) Message-ID: <20200703174539.GA4800@hirez.programming.kicks-ass.net> References: <20200703155749.GA6255@pc636> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 03, 2020 at 07:07:39PM +0200, Gabriel C wrote: > I boot all the boxes restricting the cores to the correct count on the > command line. This, because you're right about the wasted memory. > Wasted resource or not, this is still a bug IMO. Yeah, but not one we can do much about I think. It is the BIOS saying it wants more because it expects someone to come along and stick another CPU in. Possible we could say that for single socket machines overprovisioning is 'silly', but then, I've no idea how to detect that. You'll need to find an ACPI person.