Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752845AbdCTD2w (ORCPT ); Sun, 19 Mar 2017 23:28:52 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:34200 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbdCTD2u (ORCPT ); Sun, 19 Mar 2017 23:28:50 -0400 Date: Mon, 20 Mar 2017 08:58:40 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM , LKML , Peter Zijlstra , Srinivas Pandruvada , Juri Lelli , Vincent Guittot , Patrick Bellasi , Joel Fernandes , Morten Rasmussen , Ingo Molnar Subject: Re: [PATCH 1/2] cpufreq: schedutil: Fix per-CPU structure initialization in sugov_start() Message-ID: <20170320032840.GA25659@vireshk-i7> References: <4366682.tsferJN35u@aspire.rjw.lan> <2230625.Zj7J7bOCCf@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2230625.Zj7J7bOCCf@aspire.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 18 On 19-03-17, 14:30, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > sugov_start() only initializes struct sugov_cpu per-CPU structures > for shared policies, but it should do that for single-CPU policies too. > > That in particular makes the IO-wait boost mechanism work in the > cases when cpufreq policies correspond to individual CPUs. > > Fixes: 21ca6d2c52f8 (cpufreq: schedutil: Add iowait boosting) > Signed-off-by: Rafael J. Wysocki Cc: 4.9+ # 4.9+ Acked-by: Viresh Kumar -- viresh