From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965055AbdLRReZ (ORCPT ); Mon, 18 Dec 2017 12:34:25 -0500 Received: from mail-ot0-f193.google.com ([74.125.82.193]:43235 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934957AbdLRReU (ORCPT ); Mon, 18 Dec 2017 12:34:20 -0500 X-Google-Smtp-Source: ACJfBoukRTUXGFCejF8YeHa0PtJg6fahauSFNJwk8GVjZMT1gkr5CKfqasBTOF2mKWFf4tp48+a6KUZJxxKJGcQmMVo= MIME-Version: 1.0 In-Reply-To: <20171218115943.GL19815@vireshk-i7> References: <20456740.6R3DDKEUDv@aspire.rjw.lan> <20171218045945.GG19815@vireshk-i7> <20171218115943.GL19815@vireshk-i7> From: "Rafael J. Wysocki" Date: Mon, 18 Dec 2017 18:34:19 +0100 X-Google-Sender-Auth: E9nQtNarTE3oUTBGn9jAtXP4_lU Message-ID: Subject: Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags To: Viresh Kumar Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Ingo Molnar , Peter Zijlstra , Linux PM , Vincent Guittot , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 18, 2017 at 12:59 PM, Viresh Kumar wrote: > On 18-12-17, 12:35, Rafael J. Wysocki wrote: >> Well, if SCHED_CPUFRREQ_CLEAR means "this CPU is going to enter the >> idle loop" really, then it is better to call it >> SCHED_CPUFRREQ_ENTER_IDLE, for example. >> >> SCHED_CPUFRREQ_CLEAR meaning basically "you should clear these flags >> now" doesn't seem to convey any information to whoever doesn't >> squirrel the flags in the first place. > > Right, but when all the flags are cleared, then we can infer that we > are going to idle in the most probable case. > > Anyway, I will implement RT and DL clear flags as you suggested in the > next version. Cool, thanks!