Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp505093pxu; Sun, 25 Oct 2020 07:51:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoJxre30+L82PdAacZn5CYpZbLLx+cuEw3jHYvCmuy7ubz9LNwpu0b0Yav+PXAAFXM/DMm X-Received: by 2002:a17:906:36cd:: with SMTP id b13mr11595101ejc.235.1603637494206; Sun, 25 Oct 2020 07:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603637494; cv=none; d=google.com; s=arc-20160816; b=TeAGAfL4NWhDrpmYgeG3tQPZajP7LyI1Sb20BjGesjyvH3fiVb5x1J6FnX82iupmOu iETD1AxCkTV3csXDE8N8zf1VvE3Wpd+glRn5qudvIraCF4oPSNug0bxRAtEdDT/XasZV Y3Y8uitCDmyP19WDfOD6CF/hQfTKjT/TW9g/ELt+C0xTu/bET2vSij/pKAF0ZqxZqWze gZPDlm8+GGUcpVlY8oK+9fyBbs8OpG5maEOdCbpE1uO6JD+CfTxu7mAwfOH27SEQ9+ZZ jc/LD4okvPypjQHUi1+8LLVw9YfahyjS0OcpF6+r97mbUKd5O0e68ZttwYeEqHWMhbM/ TDrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=hH5MMEq21Xj/96mr+FGj0HP3TYkVtaI5gUTmYysU52I=; b=ocekzx7ZssfTC5w2RLYHHWXDWMuMMnqia9GB0JlhdBHnllt/GzUDjJd4VVxbgxG9x7 9Rgzl+OBidJLTZV1APTMLuA8v59aTD+PUAS+lMEZUJlM0PCj5nyJamU2r3/iRnT69CEl DTu9QFjJraClhSz9SaOzfKeZIDKglyc2IB4zYidVsBBvW8PrM/PWA4QWsesbq6ZwYZ1U 6hY5SLQboAaftBBdeS6vqe+pxBwFIclNGYmw+qwsZAheKiQooAD0QDiXVIAkldCMAhDp XfepKgCfz/GNbl3/3saQZGI331+DU2i4hlTELe3CV+v1ryMoUYto5LSFvocaLwuZv0S3 XmgQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq2si5259577edb.529.2020.10.25.07.51.10; Sun, 25 Oct 2020 07:51:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1416166AbgJYNGs (ORCPT + 99 others); Sun, 25 Oct 2020 09:06:48 -0400 Received: from foss.arm.com ([217.140.110.172]:45730 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1416161AbgJYNGr (ORCPT ); Sun, 25 Oct 2020 09:06:47 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C581812FC; Sun, 25 Oct 2020 06:06:46 -0700 (PDT) Received: from e107158-lin (e107158-lin.cambridge.arm.com [10.1.194.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3D00D3F66B; Sun, 25 Oct 2020 06:06:45 -0700 (PDT) Date: Sun, 25 Oct 2020 13:06:42 +0000 From: Qais Yousef To: Elliot Berman Cc: Thomas Gleixner , Peter Zijlstra , "Paul E. McKenney" , Jonathan Corbet , Trilok Soni , Prasad Sodagudi , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Dietmar Eggemann , Lukasz Luba , Valentin Schneider Subject: Re: [PATCH] smp: Add bootcpus parameter to boot subset of CPUs Message-ID: <20201025130642.yurgta7s63aecgrj@e107158-lin> References: <1603404243-5536-1-git-send-email-eberman@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1603404243-5536-1-git-send-email-eberman@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Elliot On 10/22/20 15:04, Elliot Berman wrote: > In a heterogeneous multiprocessor system, specifying the 'maxcpus' > parameter on kernel command line does not provide sufficient control > over which CPUs are brought online at kernel boot time, since CPUs may > have nonuniform performance characteristics. Thus, add bootcpus kernel Are you seeing boot time issues on big.LITTLE systems that's why you need this extra config? If so it'll be good to elaborate on the problem. Scheduler should place the heavy tasks on bigs. It'll be good to understand what's failing in here as this might not be addressing the root cause. Thanks -- Qais Yousef > parameter to control which CPUs should be brought online during kernel > boot. When both maxcpus and bootcpus is set, the more restrictive of the > two are booted.