Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbbKIGMK (ORCPT ); Mon, 9 Nov 2015 01:12:10 -0500 Received: from mail-yk0-f179.google.com ([209.85.160.179]:33770 "EHLO mail-yk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbbKIGME (ORCPT ); Mon, 9 Nov 2015 01:12:04 -0500 MIME-Version: 1.0 In-Reply-To: <56403368.60603@oracle.com> References: <563C3980.8060405@oracle.com> <20151106161459.GB4538@char.us.oracle.com> <56403368.60603@oracle.com> Date: Sun, 8 Nov 2015 22:12:03 -0800 X-Google-Sender-Auth: eQgULAJyoosz5txE2Il3WOVffpw Message-ID: Subject: Re: Question with maxcpus= parameter. From: Yinghai Lu To: Zhenzhong Duan Cc: Konrad Rzeszutek Wilk , Rusty Russell , Ashok Raj , LKML , Feng Jin Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 643 Lines: 20 On Sun, Nov 8, 2015 at 9:47 PM, Zhenzhong Duan wrote: > Tried nr_cpus=4, works. > nr_cpus and maxcpus are different. maxcpus=4 means kernel will only bring up 4 cpus, but other cpus still can be brought up online. if there are more cpu are there according acpi MADT. nr_cpus=4 that means 4 is hard limit, just like you compiled kernel with CONFIG_NR_CPUS=4. Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/