Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4466253pxf; Tue, 16 Mar 2021 14:23:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxehDtUjziVFjOqYOAm1YKeffiz3sQAG10W9Sro+2z+RgAo7Glqv9eJyepgljBjFlTsguav X-Received: by 2002:a17:906:d797:: with SMTP id pj23mr32435278ejb.367.1615929799525; Tue, 16 Mar 2021 14:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615929799; cv=none; d=google.com; s=arc-20160816; b=hNWijgpO+Nkzb5vIBANe+2Kn9sCILRU5KGWeviFMa01t+50IAOcoK5sYwqqRv72cp5 0scFkxnnik0V+BhrMrzP0yNSnypYu0K5XwQdsToC1ZRtp5pvpqJEah0o3cTtBnKX8QNK /FjpKIrYSI6l+B07xkA2U9WBuUfzr+q1zFq055utZRlNBpbD+uVUp0khB3eNyzgTC7J6 KTFXPGG+bAPR6+ilgSI2qEiiAo8d++96VSn90pgPbPE5ImdqQphHhOp5cuKrLn+OG1xE 4RXOVCgfwAi0gFO3g/g49NF5LqxZiADXL/+dUiMF2VYwcS57ryTofsRON1/ldKfsOU1p Xqmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=yspJ9qx2UmUamc0FLWqUaS8YBok3YCJHDw2AB1XLnNs=; b=PVkOkTvO17AUep2Aeel8FfOdR67gePbnP3gI9R2mWItS/eyLph798F64y50y+55D7u ANomu15Ft5OaPlW9A0m9Uz7o1EN+GxwhgbkjmkdcVZNTU+q3nM0Wi98Sq1LCK1E0Qi5x RyxOsts106yTc2FPq7cjyRqeJVE47mWLGjvIUNP3VNlCFkbmxAWK2OhD7gGJK81dym+N 4r2v6gPtlgLG5G58DARO+7tYT1fVY+8nnCK/i5tdKnb9PvQ5Mj60bFPpwYahn6g2UamP cQguN2B8XZlxsUYiv8WvX2yYjkakNNGHdUgCvAuW/g/vnrkHs6yRn2zZE1wKBZiR6k3O GzoQ== 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 e15si14648185edz.11.2021.03.16.14.22.57; Tue, 16 Mar 2021 14:23: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; 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 S240221AbhCPS7g (ORCPT + 99 others); Tue, 16 Mar 2021 14:59:36 -0400 Received: from foss.arm.com ([217.140.110.172]:56978 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240222AbhCPS7d (ORCPT ); Tue, 16 Mar 2021 14:59:33 -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 DDC59D6E; Tue, 16 Mar 2021 11:59:32 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2005E3F70D; Tue, 16 Mar 2021 11:59:30 -0700 (PDT) Subject: Re: [PATCH v3 1/7] sched/fair: Ignore percpu threads for imbalance pulls To: Chandra Sekhar Lingutla , Valentin Schneider , linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Ingo Molnar , Vincent Guittot , Morten Rasmussen , Qais Yousef , Quentin Perret , Pavan Kondeti , Rik van Riel References: <20210311120527.167870-1-valentin.schneider@arm.com> <20210311120527.167870-2-valentin.schneider@arm.com> From: Dietmar Eggemann Message-ID: Date: Tue, 16 Mar 2021 19:59:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chandra, On 16/03/2021 17:03, Chandra Sekhar Lingutla wrote: > Hi Dietmar, > > On 3/16/2021 9:19 PM, Dietmar Eggemann wrote: >> On 11/03/2021 13:05, Valentin Schneider wrote: >>> From: Lingutla Chandrasekhar [...] >>> CPUs 2-3 as Bigs with below scenario: >>> - CPU0 doing newly_idle balancing >>> - CPU1 running percpu kworker and RT task (small tasks) >> What's the role of the small RT task here in the story? > This is to satisfy 'busiest->nr_running > 1' checks. Ah, I see. Forgot about this bit of the story, the 'if (busiest->nr_running > 1)' in load_balance(). [...]