From patchwork Thu Nov 24 08:58:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 83823 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp44602qgi; Thu, 24 Nov 2016 00:58:40 -0800 (PST) X-Received: by 10.99.168.10 with SMTP id o10mr2321866pgf.105.1479977920874; Thu, 24 Nov 2016 00:58:40 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si9752892plb.274.2016.11.24.00.58.40; Thu, 24 Nov 2016 00:58:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936020AbcKXI6c (ORCPT + 25 others); Thu, 24 Nov 2016 03:58:32 -0500 Received: from mail-pg0-f46.google.com ([74.125.83.46]:36231 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932835AbcKXI6b (ORCPT ); Thu, 24 Nov 2016 03:58:31 -0500 Received: by mail-pg0-f46.google.com with SMTP id f188so16388961pgc.3 for ; Thu, 24 Nov 2016 00:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=eqA1zNVs28su/S89OGpZLGkoYg5IJMAPo9ngDDyjuCU=; b=hMAevyjVyf0IJYbx97PC7o/Ha+I5H38snDOeqDNNZP6f10vW7KW08N131hL1kHGcg5 +VFqp0KJkuoMg8/1D4FYITCjpOm6s1f/ZfQouhXQN7CQZ4gyJu7YnqoJtrYGTBS77AL2 eyx8W9h4xnaf+VBG0qDe2ytuj0IjODasRIUgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eqA1zNVs28su/S89OGpZLGkoYg5IJMAPo9ngDDyjuCU=; b=SODgxUNSeQSFuTGrcH6aBJsMyRa7AfJm0mQIwnTyNFpHFy74dlJHHx7pvn7QpWEjiw W6RZNk8503v8BXr3q972cTg2epVSNpStkM7WJFeBKKdtIZjH3EXXxAjeDDWvoPOjO948 JZnsv7JIhsIn50CPpWQPp8CNP8dJD5blYT/5b38Sb1KUKzeMdg52c4o+cZ0zmzkcnQ60 6vHaj8id+fXomrrAf6LUi1QU7gMeHOYlPkYtSJVUAy9xqh4wvFJBDwAopq5xUhdTRPGe uMOsuCDvahR7fREt9XI7vDiChEk+vWqf8jnB8FB0j5y/+CT5+67olIXlZA7Rleg+6nBe LHFQ== X-Gm-Message-State: AKaTC01Uu15j0PBMP5H/whVwKyP62avVf5LCChHZLd0YKsQToGzja2zMM95qTcm++FBybfLz X-Received: by 10.99.95.86 with SMTP id t83mr2439298pgb.0.1479977910337; Thu, 24 Nov 2016 00:58:30 -0800 (PST) Received: from localhost ([122.172.89.192]) by smtp.gmail.com with ESMTPSA id 72sm55115087pfw.37.2016.11.24.00.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Nov 2016 00:58:29 -0800 (PST) From: Viresh Kumar To: Vincent Guittot , Ingo Molnar , Peter Zijlstra Cc: Viresh Kumar , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH V2] cpufreq: schedutil: Rectify comment in sugov_irq_work() function Date: Thu, 24 Nov 2016 14:28:22 +0530 Message-Id: <50bc83ccf5e6d3e3690889f3cca99b7a4e41eb9c.1479977605.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch rectifies a comment present in sugov_irq_work() function to follow proper grammar. Suggested-by: Ingo Molnar Signed-off-by: Viresh Kumar Acked-by: Ingo Molnar --- V1->V2: - s/Real Time/RT - s/Deadline/deadline - Ack from Ingo kernel/sched/cpufreq_schedutil.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.7.1.410.g6faf27b diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 42a220e78f00..fd4659313640 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -315,15 +315,15 @@ static void sugov_irq_work(struct irq_work *irq_work) sg_policy = container_of(irq_work, struct sugov_policy, irq_work); /* - * For Real Time and Deadline tasks, schedutil governor shoots the - * frequency to maximum. And special care must be taken to ensure that - * this kthread doesn't result in that. + * For RT and deadline tasks, the schedutil governor shoots the + * frequency to maximum. Special care must be taken to ensure that this + * kthread doesn't result in the same behavior. * * This is (mostly) guaranteed by the work_in_progress flag. The flag is - * updated only at the end of the sugov_work() and before that schedutil - * rejects all other frequency scaling requests. + * updated only at the end of the sugov_work() function and before that + * the schedutil governor rejects all other frequency scaling requests. * - * Though there is a very rare case where the RT thread yields right + * There is a very rare case though, where the RT thread yields right * after the work_in_progress flag is cleared. The effects of that are * neglected for now. */