From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426AbdICUP6 (ORCPT ); Sun, 3 Sep 2017 16:15:58 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:38254 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751509AbdICUP5 (ORCPT ); Sun, 3 Sep 2017 16:15:57 -0400 X-Google-Smtp-Source: ADKCNb6Y6Q2q82uuetQejyo9nmfVvt1pgCMvb0E47DUWp5wTcpTYsuGP/IEz12zneD8zr4FdJqESjQ== From: Joel Fernandes To: linux-kernel@vger.kernel.org Cc: Joel Fernandes , Srinivas Pandruvada , Len Brown , "Rafael J . Wysocki" , Viresh Kumar , Ingo Molnar , Peter Zijlstra , Juri Lelli , Patrick Bellasi , Steve Muckle , kernel-team@android.com Subject: [PATCH RFC RESEND v2 0/2] Prevent cpufreq update for only task on rq that sleeps Date: Sun, 3 Sep 2017 13:15:40 -0700 Message-Id: <20170903201542.2929-1-joelaf@google.com> X-Mailer: git-send-email 2.14.1.581.gf28d330327-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches are just a repost of [1] and [2] with a cover letter for more history and backround. On the Pixel product we carry a similar path which was also posted some time ago to LKML [3] [4] however that patch was for schedfreq governor (which isn't upstream). For schedutil which is upstream and currently used on our future products, we go through the cpufreq update hooks and this patch is adapted for this usecase. [1] https://patchwork.kernel.org/patch/9910019/ [2] https://patchwork.kernel.org/patch/9910017/ [3] https://patchwork.kernel.org/patch/8385861/ [4] https://lwn.net/Articles/676886/ Joel Fernandes (2): Revert "sched/fair: Drop always true parameter of update_cfs_rq_load_avg()" sched/fair: Skip frequency update if CPU about to idle kernel/sched/fair.c | 38 +++++++++++++++++++++++++++++--------- kernel/sched/sched.h | 1 + 2 files changed, 30 insertions(+), 9 deletions(-) Cc: Srinivas Pandruvada Cc: Len Brown Cc: Rafael J. Wysocki Cc: Viresh Kumar Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Patrick Bellasi Cc: Steve Muckle Cc: kernel-team@android.com Signed-off-by: Joel Fernandes -- 2.14.1.581.gf28d330327-goog