Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1817342rdb; Mon, 9 Oct 2023 04:08:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdaTNlgJAVE/n2OAO8j3L4onzu36xgWYxH+U1YQWDX3t25/Bg+9GLVSJTJILJzFQqkEm7S X-Received: by 2002:a05:6a21:a5aa:b0:15d:fc71:1b9e with SMTP id gd42-20020a056a21a5aa00b0015dfc711b9emr17945684pzc.49.1696849734364; Mon, 09 Oct 2023 04:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696849734; cv=none; d=google.com; s=arc-20160816; b=U3L2WjZGXZvhdoFJWMaNnIBvzlj62hUIW4oeNseIpQJ93KZeIU/XeCKEpfac9ok08W Yh3p7bb6HBoRZkVU0y0BQl/HInxu/VyMQHgqAxoWsAPtHuv/L7Hy189lImBCNJx7Kz7x aFcXxvr3MCOA9EOotmaBQeXahjmcIPMHyy21ZmlxwcnZbk4QSMae5Rke4MeyM+rSoeNI VdCuqMxwkLTtLuz0xp2AWl1gQkf6nLPU+LBNZ87dC+gxa7/WDBSLmuhwqqecDY+xwURt YIdyRPZzd7v+ftvWOj5LHKTtvTPnjTwxkI8zqoLry6RmRa5yLfQvS6UvIGfqKvxm8NZy 9RFw== 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:sender:dkim-signature; bh=/9risSfMSWEV6oRJZRPDScSLa9A8a5vl1EYTHeHk7jE=; fh=P+Rek6GzKLNRuc/SxyjQtnVu5n6r3u4fqyeXD7yfTG4=; b=ucZwQ9wlfEsn1z41Lbfp+bgfjyNTYK87/hfZP1IFVzv1DNcdUCxV+Pw8ZDrkXwDu5p 2jp4jzswGbVZzLBbLjfLuR/4uE5DALphm6KF2RjTyplrzWs/AU5MqfKvVTPGnlLzPl5p +w1Xkr7Q4zrIvYr6mGWOASIBlffDuF0NXTK/lf+OJhASo7fE1EgY3GRxl/MxHQt3WF66 gEIrPOMtgyHIyBQlSEWNTEEQ8ij8npKFbPPTy9g5GTGOleq1Ea24aEkyBsITsTu3WAfq sV7pd/QCI22tG/Ek1Znw+7S3QSoHPr25uTFShqCjqDkA+d7SXQPhWeMmOuBpSqk8En+j RGWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lSnF+fqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id x3-20020a17090300c300b001c3cbccf116si8842507plc.403.2023.10.09.04.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:08:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lSnF+fqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D4D958052BD0; Mon, 9 Oct 2023 04:08:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346170AbjJILIp (ORCPT + 99 others); Mon, 9 Oct 2023 07:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346157AbjJILIo (ORCPT ); Mon, 9 Oct 2023 07:08:44 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A968BEA; Mon, 9 Oct 2023 04:08:41 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32329d935d4so3971880f8f.2; Mon, 09 Oct 2023 04:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696849720; x=1697454520; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=/9risSfMSWEV6oRJZRPDScSLa9A8a5vl1EYTHeHk7jE=; b=lSnF+fqjtmj0BXsXfgTpSgv+ur7DkGd3lluTmOFkVtx1lQ7ZTDk374+zFoWR95Lkp0 apgstSmJpShko9dXFXdPoSvzIL+8UTMLVQ48WRpue/gUaWXfff+Aivut2WWPnizttaLT MOMlMfIup+4u6BvxdVVufgUxOtNZ1X8kvcxiqP5ndVWgtgviLYvcN0zCSsG7QhMP5rH9 Nrw/w+qSG0vjKaJhAzo8BvE4F1N0shGjtWlgxyrTCbh5/kiNj59e5DFvfM2+udxs3Y+F oMfjPUYWYCBL0cCN3SOUUSkgfN1Uuc/RG/DSRx5V6Og1IN9Agpa24i3dQth7iqzNaDKh xKbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696849720; x=1697454520; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/9risSfMSWEV6oRJZRPDScSLa9A8a5vl1EYTHeHk7jE=; b=fuBTRd/TVZDvMhG03z/G78uF0wsfQ+vbtoSXsNs44PVc/M6JH9KB6jGxUMTLxZ8w4J mpAgXu1OnTOJgo96O/ZOAiZ5tu6hTuloy0ALlxgQPCDEALRlykUwFOlOcy3jvPGatp/C htKj9HVFaFWOKltpBI6G6ztFRyOXpyDYgpTYSx+q6w5o6PjDuqmBX9rc3zs8WBWXbcCF G4dvF1uYXzQSSPxyiFfGC1aOw6C16OIQuO8S9cRuBZUv1W4kS9gcaJiOpr43qiHU+6M/ 912AnlcbUY76GAvz4MP9IBLUE1muiR+w20GdP4bbNw63cemNSR0U1ZcUdtlNo4bqZj6t wbmQ== X-Gm-Message-State: AOJu0YzXjUjvxtE4dMES/nG07YlYx79HRbEwfdGmqzWK82VY3RDxwN71 D3XVXdcCTIuENvIByqhIEqY= X-Received: by 2002:adf:fc4c:0:b0:319:785a:fce0 with SMTP id e12-20020adffc4c000000b00319785afce0mr13739262wrs.26.1696849719936; Mon, 09 Oct 2023 04:08:39 -0700 (PDT) Received: from gmail.com (1F2EF237.nat.pool.telekom.hu. [31.46.242.55]) by smtp.gmail.com with ESMTPSA id y4-20020a05600c364400b0040472ad9a3dsm10908725wmq.14.2023.10.09.04.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 04:08:37 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 9 Oct 2023 13:08:34 +0200 From: Ingo Molnar To: Shrikanth Hegde Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, vschneid@redhat.com, dietmar.eggemann@arm.com, linux-kernel@vger.kernel.org, qperret@google.com, srikar@linux.vnet.ibm.com, pierre.gondois@arm.com, yu.c.chen@intel.com, tim.c.chen@linux.intel.com, pauld@redhat.com, lukasz.luba@arm.com, linux-doc@vger.kernel.org Subject: Re: [PATCH v6 1/2] sched/topology: Remove EM_MAX_COMPLEXITY limit Message-ID: References: <20231009060037.170765-1-sshegde@linux.vnet.ibm.com> <20231009060037.170765-2-sshegde@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009060037.170765-2-sshegde@linux.vnet.ibm.com> X-Spam-Status: No, score=2.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 09 Oct 2023 04:08:52 -0700 (PDT) X-Spam-Level: ** * Shrikanth Hegde wrote: > From: Pierre Gondois > > The Energy Aware Scheduler (EAS) estimates the energy consumption > of placing a task on different CPUs. The goal is to minimize this > energy consumption. Estimating the energy of different task placements > is increasingly complex with the size of the platform. To avoid having > a slow wake-up path, EAS is only enabled if this complexity is low > enough. ... > To reflect this improvement, remove the EAS complexity check. > Note that a limit on the number of CPUs still holds against > EM_MAX_NUM_CPUS to avoid overflows during the energy estimation. > > Signed-off-by: Pierre Gondois > Reviewed-by: Lukasz Luba > Reviewed-by: Dietmar Eggemann > --- > Documentation/scheduler/sched-energy.rst | 29 ++---------------- > kernel/sched/topology.c | 39 ++---------------------- > 2 files changed, 6 insertions(+), 62 deletions(-) I've applied this patch to tip:sched/core, for a v6.7 merge, thanks! Ingo