From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752096AbcBOBVu (ORCPT ); Sun, 14 Feb 2016 20:21:50 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:43920 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751947AbcBOBVO (ORCPT ); Sun, 14 Feb 2016 20:21:14 -0500 From: "Rafael J. Wysocki" To: Linux PM list Cc: Linux Kernel Mailing List , Viresh Kumar , Juri Lelli Subject: [PATCH 0/9] cpufreq governor improvements Date: Mon, 15 Feb 2016 02:08:32 +0100 Message-ID: <3329748.lhJgppdTt9@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Here's a buch of patches that slightly improve the ondemand/conservative code on top of the current linux-next branch of my tree (linux-pm.git). They don't change the way things work fundamentally, but some minor differences may be noticeable. [1/9] Do not do atomic_inc() in gov_cancel_work() as there's no reason to do it (new version). [2/9] Avoid atomic ops in scheduler paths if not absolutely necessary (new version). [3/9] Fix computation of the contribution from nice in dbs_check_cpu(). [4/9] Clean up load-related computations in the common governor code. [5/9] Get rid of the ->gov_check_cpu callback. [6/9] Make store_sampling_rate() reset the sample delay to 0 (instead of setting it to the new sampling rate) to avoid weird interactions with the ondemand governor. [7/9] Move rate_mult to struct policy_dbs_info. [8/9] Simplify conditionals in od_dbs_timer(). [9/9] Use microseconds in computations related to sample delay. The series have been (lightly) tested on Toshiba Portege R500. Thanks, Rafael