Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1470226ybz; Thu, 16 Apr 2020 09:43:15 -0700 (PDT) X-Google-Smtp-Source: APiQypIlJWBlEgU7gDta70Zj+b5TmHHkuDa/VZnX2F4BR/Aus8vZ/+IolnKDLZOzGlnLrmJhrqSN X-Received: by 2002:a50:d942:: with SMTP id u2mr30958180edj.116.1587055395305; Thu, 16 Apr 2020 09:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587055395; cv=none; d=google.com; s=arc-20160816; b=Ck7UhnKhUV83FAUegT4/+VMsKJWUYnx7mZ7PeaJbGWHlzeyLzah+jO4Hp5SF1i+dhk SD69CxGPAmKG49TzU3rzcw9y1AXVtkSlBv7iufX42IFJT+k8qPbZrf7KkN8mXOkgctUS 5ZWxL8DgloBv43RW+LnqV1SVSPjlNwGw3asLC2WYXogPlkjDOuLtzb3DbCU0mjzIM7jj qQUt026CBDqIDpb+dV1Cr+21ghNbyTdM8DthVuP3EnNxbEw7UQnP5yBZQ1wBsFyRoRvT dXT/yluaeCSdb+97vZXyDerEkOmtZsGvDc8HQkgg4rRjLxIwOF0spamSYcorRESHwXso bmDA== 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=NIYyaBo9ReSyF15lOLa+UTLFpCXB7Z8KPyCmX3vCi2Y=; b=BGC6P2jv+JELfOAtbZjZANAekbSs4awm/wrimjn1jSCws3tShO7pKCC1f8NdLDWhMC LHVDUOdE0iFCGI1tUuphGoN/GqoXSn8R3d1chXigZkg4g8jyEn1XABiKmW7rmfDVzQ87 cr3g3XC2JxzF8POI4Kde1/4BD63ntUeiiIdyEO9CuIw9O1IR+h/s/MxTlVnc9N7qzlZV UpifUYarfLbRDh0lzyInmlUe9d/iHIdXAMMLULBJUtes39HIiZs1hjTixn9uEgmW4+iO 7votQ4YMhUWV9X716CqSDXRn1GxZU/hspymrwjrb4qnimLJHbh0og/CyhK9X//9uCFv/ 79NQ== 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 t11si82706edj.346.2020.04.16.09.42.52; Thu, 16 Apr 2020 09:43:15 -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 S2389074AbgDPQll (ORCPT + 99 others); Thu, 16 Apr 2020 12:41:41 -0400 Received: from elvis.franken.de ([193.175.24.41]:42211 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731023AbgDPQlf (ORCPT ); Thu, 16 Apr 2020 12:41:35 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jP7Zy-0001kl-05; Thu, 16 Apr 2020 18:41:30 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 4946EC0144; Thu, 16 Apr 2020 18:40:55 +0200 (CEST) Date: Thu, 16 Apr 2020 18:40:55 +0200 From: Thomas Bogendoerfer To: Tiezhu Yang Cc: Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH] MIPS: Loongson: Use CONFIG_NR_CPUS_DEFAULT_64 to support more CPUs Message-ID: <20200416164055.GF24743@alpha.franken.de> References: <1585638006-19439-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1585638006-19439-1-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 03:00:06PM +0800, Tiezhu Yang wrote: > When I update the mainline kernel on the Loongson 2-way platform which > has 8 CPUs, it only shows 4 CPUs due to NR_CPUS is 4, this is obviously > wrong. > > In order to support more CPUs on the Loongson platform, it is better > to use CONFIG_NR_CPUS_DEFAULT_64 instead of CONFIG_NR_CPUS_DEFAULT_4 > to specify the maximum number of CPUs which the kernel will support. > > Signed-off-by: Tiezhu Yang > --- > arch/mips/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]