Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7170337rwb; Mon, 12 Dec 2022 10:57:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7rq1t+QJwUxUqMBklIdclvSGRwzBq+mwaW2V1ybE2qbfSupWL1oP/FDm+bqmSzvryLJ4HK X-Received: by 2002:a17:90a:bd87:b0:219:d274:ba39 with SMTP id z7-20020a17090abd8700b00219d274ba39mr17881416pjr.27.1670871458588; Mon, 12 Dec 2022 10:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670871458; cv=none; d=google.com; s=arc-20160816; b=vKIwnv9/SOnjK8ue6lcqPxfoESJPCDtf3QoYXhAZX2WILSap/Cwsng7p/JoqmO8BuE +ze+0FYXF2hgS3NYmXVZSf/o5phDLga+lDVmCYPPL/QLZVg1UH4Eh+p62c+YRkr1+9HN jFrOsUNx6ShlN3yvst3O9MHoiItDOW77jTVtyhLRiUizx5h04ai2JdX4RbDU+mxHB29K s+2itTNMo+rGb0Ejg/ErHyqELRZTEHlxow6EBeg1jdvdqN4HTIBz8Av7C7PB+7iGHRtl WoJsK3cMjKBPbB8IEAoHC1x8kBmb6EDh7T9rqKhRoAoivSAG7I8MGe8xlDhwx6fcgly3 gr8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nxutl8C/TxrxHPgY3LAO6xyC70gGULvAdnVGGPSEEIg=; b=w4Jmbp7A6vnyOH36R22TEDJYVYBRamXrgaZvHFdWLy8HJuWgOgP9m0ukGk6teNTJOi frck/XZRVS+csOQ+x7q5XKTtWa/vhPYJ+pOgCqJI166co4I+WOLDBWgS1nxYFj/AbTNe D29rpQOGlwsxVoWz+LXdztMpfdLtexCJDk3MbVj67sIwNXsWzpJm/2nQzy1OsKqttsPW NelrFSf//QIkZPq0Zi70kcYGE41AwCTKMjoQ18X/T6wVn3uNOgNE1g7hgoCBG0AxMZad vKrjfaiqTsIJsfLovvuK2P5pfqy6qVnfngKfzvNMJz99xepDsgpn+JxxZqX48oGyBzaG kyBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lFYya4OA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a17090a6acc00b00219d274efcdsi9736275pjm.75.2022.12.12.10.57.28; Mon, 12 Dec 2022 10:57:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lFYya4OA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233210AbiLLSm4 (ORCPT + 74 others); Mon, 12 Dec 2022 13:42:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233570AbiLLSm2 (ORCPT ); Mon, 12 Dec 2022 13:42:28 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ECF8192B8; Mon, 12 Dec 2022 10:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670870376; x=1702406376; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hOY+PVY/v4DYkDc4C97PdqkCHoMURrX76I77jZtDZkU=; b=lFYya4OAgY/OENhzxazfE47h5bzNBVLziOSj2NLRgcHTUFEDoIK0hNtI li3w9E+8SqPaBOsHLMPjk9ECDxFl0DogHFnl07xfzoBaOrrJc9qXHBuBW II0siSpscF95q+2X72JokC2yLGWR+VUoltf6I44Mrq/rlsp4dW0FebzLq 0HaN4BvzUmn+I0fHbNeJA8xJ/1v/AoIR1olukVVMW4AeuM0Xt1Bm8kvDS fjJHXYSEHhewNjDgK7NxPowW/50RUjQypADYZBizsrD4/9Y1/85/VlsVj t6A7jJs1RdMOQ+Cc0ehoaoe1BvabbCHXb7dFx9ZD42KjmWDJ1VyQs2Cve A==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="301350536" X-IronPort-AV: E=Sophos;i="5.96,239,1665471600"; d="scan'208";a="301350536" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 10:38:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="737072699" X-IronPort-AV: E=Sophos;i="5.96,239,1665471600"; d="scan'208";a="737072699" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by FMSMGA003.fm.intel.com with ESMTP; 12 Dec 2022 10:38:58 -0800 Date: Mon, 12 Dec 2022 10:47:05 -0800 From: Ricardo Neri To: Dietmar Eggemann Cc: "Peter Zijlstra (Intel)" , Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , x86@kernel.org, "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "Tim C . Chen" Subject: Re: [PATCH v2 04/22] sched/core: Add user_tick as argument to scheduler_tick() Message-ID: <20221212184705.GE27353@ranerica-svr.sc.intel.com> References: <20221128132100.30253-1-ricardo.neri-calderon@linux.intel.com> <20221128132100.30253-5-ricardo.neri-calderon@linux.intel.com> <40ff1e4c-b128-c0d0-a024-e454e843ee46@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40ff1e4c-b128-c0d0-a024-e454e843ee46@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 07, 2022 at 01:21:47PM +0100, Dietmar Eggemann wrote: > On 28/11/2022 14:20, Ricardo Neri wrote: > > Differentiate between user and kernel ticks so that the scheduler updates > > the IPC class of the current task during the latter. > > Just to make sure ,,, 05/22 introduces `rq->curr` IPCC update during > user_tick, i.e. the former? Yes. Thank you for the catch!