Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp740599rwb; Wed, 7 Dec 2022 04:35:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf48ptGjtosm0J11OA5Xqk7JltcASRMUZ5EJITJjcAQtdza0i+wdzd/uRA8IKMegz6UHMabH X-Received: by 2002:a05:6a00:d66:b0:56a:fd45:d054 with SMTP id n38-20020a056a000d6600b0056afd45d054mr80832942pfv.3.1670416515113; Wed, 07 Dec 2022 04:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670416515; cv=none; d=google.com; s=arc-20160816; b=neZ4/lKc4P9B3WoAmT8mvjtZdBrF1OvriP+xhRphECn9vLIdZI4YmNqiHxlXa10eeC qnCZw/PGtqWCD34qIHXmm2RTDLPqs2Izrx241l9zrJqcjcarrBxoon18iBK9VqB+eKo1 quqE/bmxWoFsN644q5uSy99ctc7xNGGbDyVrPKvodNB1yoi6XjD0Bo6fUFGKNuMaQMIz DXNSsyzK3Os5QE8E7LOnD5IMSG5UpUyUQeU/B+WJgDBBJx2yiT+N1+t33XrmlsTejfaN CnOS4mmQnwbyi8OeDKE7h4/YBAB9aPUmnAAprmKaw6FzppdbeGJqtvGK6W0dDblQN2Ay ONbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=GF9h4LtYz3/0MYhZ+ctfhIUHCdEU0+Te4Rb8kd3eWTs=; b=DUL4KhwI92sXWS8vJS6y7kZZfZknMjsFx/JJljzdgQaG+xR2jT7nVuUNN85uhKzOVO EXH3DxH7YeIiQ2xI/aMQ3pdNOMTbOgrUgD/M3l0a4mopb6strY36kPf6EAfrLf6pduPC uXhJIS10jLyBuU5vhaqyITsbteT6tLZi7b3u3r/Jx4o5Nq9CB9h++GEWlZrxmxSlpnHy KyKFSZ+SDQ5kvkdi1EGl6AteFEY55WbsAqsXIX4siItriMyaZSkD59sjSc7wYuwYJ+wr qDStax69u2Obxz97VgMLjqsAzwqi13qqxWvqzObZWsWIwAAY5bcXGRzkSjEcCZq+kLZi J7ww== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a056a00191300b005383ec972b3si20354464pfi.72.2022.12.07.04.35.04; Wed, 07 Dec 2022 04:35:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229718AbiLGMWN (ORCPT + 77 others); Wed, 7 Dec 2022 07:22:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbiLGMWC (ORCPT ); Wed, 7 Dec 2022 07:22:02 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 720BC4C246; Wed, 7 Dec 2022 04:22:01 -0800 (PST) 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 97D0D23A; Wed, 7 Dec 2022 04:22:07 -0800 (PST) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 561E03F73D; Wed, 7 Dec 2022 04:21:57 -0800 (PST) Message-ID: <40ff1e4c-b128-c0d0-a024-e454e843ee46@arm.com> Date: Wed, 7 Dec 2022 13:21:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 04/22] sched/core: Add user_tick as argument to scheduler_tick() Content-Language: en-US To: Ricardo Neri , "Peter Zijlstra (Intel)" , Juri Lelli , Vincent Guittot Cc: 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" References: <20221128132100.30253-1-ricardo.neri-calderon@linux.intel.com> <20221128132100.30253-5-ricardo.neri-calderon@linux.intel.com> From: Dietmar Eggemann In-Reply-To: <20221128132100.30253-5-ricardo.neri-calderon@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 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? [...]