From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162962AbdEXJDn (ORCPT ); Wed, 24 May 2017 05:03:43 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:35121 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162000AbdEXJBE (ORCPT ); Wed, 24 May 2017 05:01:04 -0400 From: Vincent Guittot To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: rjw@rjwysocki.net, juri.lelli@arm.com, dietmar.eggemann@arm.com, Morten.Rasmussen@arm.com, Vincent Guittot Subject: [PATCH 0/2] track rt rq utilization Date: Wed, 24 May 2017 11:00:50 +0200 Message-Id: <1495616452-7582-1-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When both cfs and rt tasks compete to run on a CPU, we can see some frequency drops with schedutil governor. In such case, the cfs_rq's utilization doesn't reflect anymore the utilization of cfs tasks but only the remaining part that is not used by rt tasks. We should monitor the stolen utilization and take it into account when selecting OPP. Patch 1 tracks utilization of rt_rq. Patch 2 adds the rt_rq's utilization when selection OPP for cfs tasks This patchset doesn't change the OPP selection policy for RT tasks Vincent Guittot (2): sched/rt: add utilization tracking cpufreq/schedutil: add rt utilization tracking kernel/sched/cpufreq_schedutil.c | 2 +- kernel/sched/fair.c | 21 +++++++++++++++++++++ kernel/sched/rt.c | 9 +++++++++ kernel/sched/sched.h | 3 +++ 4 files changed, 34 insertions(+), 1 deletion(-) -- 2.7.4