Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp779129yba; Wed, 15 May 2019 09:46:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDDsDViUgLnYpTOxGIgazybocZvcbzWbmZetuU25kGQC33ddB4GW21P0TqyXyJyhFLLR4N X-Received: by 2002:a63:2c14:: with SMTP id s20mr27840127pgs.182.1557938813896; Wed, 15 May 2019 09:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557938813; cv=none; d=google.com; s=arc-20160816; b=PQ3zP00ly86zW14HeJfs19vDGUskr0DS2wkXoFrT+WW4z/RnZDUYXqPqPNFYLhGzS4 j4xcAhMX+Wx14tGbRbZmUFMSv1uV7esApQHtDXGZ1myTU84h9MSuQTEtqrphhzOt7qEB KJrg8fv0u8eyYTRt9mWSNP2JVyzrDnxg7IkHxEGJkf9vZmyf6FZ18q9HgExEfee4Sy9Q cpKCq/siG5vfsCKDkApCaT0qxUXhGRxDr6wGz0Qcj062qlHG4B+1aogc+L32ecXmNxX+ /tYSekFgbXa6VIjPb3oIW8W28OIVA3rAHxg+KaVgLJwhR98xScP6J8eRXw+2XlmzV1uU Cf7w== 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:dkim-signature; bh=5ezG1QqiXOsGRIp+0lQFxeCPHGaBgx8UHJEuCr5YONE=; b=XLfPkfsGdThEt+E/L+ikgrhYyxcdtkchoYMBv0+Evs2a967TOnpTfvMSwAAl9xEwh1 WMw2Nukls6FhNmV4kJLFNWFnBr2qWmtOcm01qpVkIBUhUc2Ek3vAUbKh4/WZJ29w1muy 5mOOPfWEpBc5Vwsd3H54bH6mAMC5vqGxhkpASimY2Yn3j7w1mkn0kalAegll3Fh4VNE1 zgQTWNbA11/uTtCrdFuF8gBVb1jgABD2A5WjnLKcrl3RGEtVcwZK7qnxAPFx3sdFfz51 by58gO/bJCHuODDFLHouGX4plQ4ZtV/ovooEpJ6Yx578amL3QM9QJ7fHTbdqyUTqtYZP w5OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=klUG8QeF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i64si2199890pgc.78.2019.05.15.09.46.38; Wed, 15 May 2019 09:46:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=klUG8QeF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727112AbfEOQoS (ORCPT + 99 others); Wed, 15 May 2019 12:44:18 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41004 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726645AbfEOQoS (ORCPT ); Wed, 15 May 2019 12:44:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5ezG1QqiXOsGRIp+0lQFxeCPHGaBgx8UHJEuCr5YONE=; b=klUG8QeFGmsCRjeSJK/tDVlTy tdK1XAdGw7GzfngQy2PAeSbPud32JoJrsqrb6OxUAzgnTVOTk9XWdXB3jg0kXcG9QBwxxeiRZOyBP sH9afp9Ry4qtgzgHVgawvA3OzeZekW+/t8pwgbm8/68eQADOWqIQaD2kSrtzy80mJtw6IUzZzEC/2 YjIowxQ9cYpgIAFOTXpo+cFxOrxzDLUKJUnXmn5MlHF4Y8Aon4c6iVjsqPXCxI3DsW7ousEEJLYEC Zsu4XJKw2tiMsWLI6bH63HdsKUH0kxBLcB5E68MpnvVpnqJ89CDLsX/YgJxuba5vN/Edzvr4JIgxu P9zslws4Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQx0p-0007zE-MC; Wed, 15 May 2019 16:44:15 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 302932029906B; Wed, 15 May 2019 18:44:14 +0200 (CEST) Date: Wed, 15 May 2019 18:44:14 +0200 From: Peter Zijlstra To: Parth Shah Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, mingo@redhat.com, dietmar.eggemann@arm.com, dsmythies@telus.net Subject: Re: [RFCv2 6/6] sched/fair: Bound non idle core search by DIE domain Message-ID: <20190515164414.GY2589@hirez.programming.kicks-ass.net> References: <20190515135322.19393-1-parth@linux.ibm.com> <20190515135322.19393-7-parth@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190515135322.19393-7-parth@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 15, 2019 at 07:23:22PM +0530, Parth Shah wrote: > This patch specifies the sched domain to search for a non idle core. > > The select_non_idle_core searches for the non idle cores across whole > system. But in the systems with multiple NUMA domains, the Turbo frequency > can be sustained within the NUMA domain without being affected from other > NUMA. > > This patch provides an architecture specific implementation for defining > the turbo domain to make searching of the core to be bound within the NUMA. NAK, this is insane. You don't need arch hooks to find the numa domain.