From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C916ECAAD3 for ; Wed, 14 Sep 2022 13:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbiINNpH (ORCPT ); Wed, 14 Sep 2022 09:45:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbiINNpD (ORCPT ); Wed, 14 Sep 2022 09:45:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D4FA4DB02 for ; Wed, 14 Sep 2022 06:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=TTSHjTKDxa0+uN81bcecGYss8EXCJivksW8E6RaMxvE=; b=IGxCwamR3DmJNn2Uzt94OKzp0v /FKThI/GzslKtp58fP/1VwCQ5tf5e3R6U/SL+e3cfyhuHpL6YQ0hKMDqFLitmCgNCcEGdUX7AEJf/ RKKIA0mzKUSCQX5sujDgiwNMWsxcmUtkhIwPdq+GiUawxogssMLJ2cgT+h+bRdqmxeP3KAINeGc8y u4kqSnXbyD7PpP9w3EoZsnVcoXY5+MMOC0Kj01nMkgd2i7qHh28AYsa9KKct0Nrcd055UVe5Uw/He ntW/6f1CKM7EhTmfkvKOAcYW5GerUQvlk2e4zydq1nVf8im3oOMTXgattJSh3yh5VRM2/dAyQxQR1 f5nmkYPA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYSgr-000DX6-CR; Wed, 14 Sep 2022 13:44:33 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5D6A23002AE; Wed, 14 Sep 2022 15:44:29 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 18B1D2B8AD40C; Wed, 14 Sep 2022 15:44:29 +0200 (CEST) Date: Wed, 14 Sep 2022 15:44:29 +0200 From: Peter Zijlstra To: Ricardo Neri Cc: Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , x86@kernel.org, linux-kernel@vger.kernel.org, "Tim C . Chen" Subject: Re: [RFC PATCH 06/23] sched/core: Update the classification of the current task Message-ID: References: <20220909231205.14009-1-ricardo.neri-calderon@linux.intel.com> <20220909231205.14009-7-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909231205.14009-7-ricardo.neri-calderon@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 09, 2022 at 04:11:48PM -0700, Ricardo Neri wrote: > + if (sched_task_classes_enabled() && user_tick) > + arch_update_task_class(curr, is_core_idle(cpu)); This evaluates is_core_idle() even if the hardware improves.