From patchwork Thu Nov 24 08:21:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 83818 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp26568obn; Thu, 24 Nov 2016 00:21:54 -0800 (PST) X-Received: by 10.99.8.133 with SMTP id 127mr2172640pgi.76.1479975714263; Thu, 24 Nov 2016 00:21:54 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si38206420pgb.4.2016.11.24.00.21.54; Thu, 24 Nov 2016 00:21:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755878AbcKXIVw (ORCPT + 13 others); Thu, 24 Nov 2016 03:21:52 -0500 Received: from mail-pg0-f41.google.com ([74.125.83.41]:36444 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755116AbcKXIVv (ORCPT ); Thu, 24 Nov 2016 03:21:51 -0500 Received: by mail-pg0-f41.google.com with SMTP id f188so16036634pgc.3 for ; Thu, 24 Nov 2016 00:21:51 -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=QiqXKf4KUR2MExSCB2FAj+r62b+zesyozHMT+SUtZ8Q=; b=jqbC/meoze6+g3XtBK4YORKCtqZZWw6U0PFywZ44G8S7w/p7Smh6+9s7AbllDqh3pi mVB5czE3TSne+1376PEiJ5bzQRhrzo0gRMqdGqbOHO8LDY51i+n+5RtqtThiTQ7Jodbh pM9ac6r6hqqvho0bsY7mGkiyXX3CnNHdd11Sk= 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=QiqXKf4KUR2MExSCB2FAj+r62b+zesyozHMT+SUtZ8Q=; b=V2KwEoFIVL1DMKgyvEpS6/qN7xUrMWPcNLp/lorXzhnObORgnCCXT4aJH9CmN5uG2h nAiSJwMqPvUO86sno52hMp04XQEXJp8WKuKYIFMEnQcKnx4PqTHkExCvDXRtuw6iV+Kg rlAS2eMP9qL7LHt1Wnej4YT4b77PcKf4Ck1DecFtbXn9t0YYRUf/KbClIBymoFaieBBK ua1/V8NZcBGoQ117GOXfL2Vof1KE3RGvc2qXvHVvApXk80kFpP/7bI4e+kr76gz0N+Bd FnTT3KvCXXH6Ejexz67WGHk9bzDg+PNAX7hQbkJL9/GlSWfet+fEG/4tU0kEwz2cdOUg TBkA== X-Gm-Message-State: AKaTC005MkXKi1jWKBGaqMOodRw615PgtkrFajjclP0qvyT2VBtu7d+fePNnLgX2Y73v0Wnu X-Received: by 10.99.240.83 with SMTP id s19mr2036227pgj.175.1479975711083; Thu, 24 Nov 2016 00:21:51 -0800 (PST) Received: from localhost ([122.172.89.192]) by smtp.gmail.com with ESMTPSA id j190sm40023544pgd.23.2016.11.24.00.21.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Nov 2016 00:21:50 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Ingo Molnar , Peter Zijlstra Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , Viresh Kumar , Ingo Molnar Subject: [PATCH] cpufreq: schedutil: Rectify comment in sugov_irq_work() function Date: Thu, 24 Nov 2016 13:51:11 +0530 Message-Id: <94dc68617a6c8e42de4f225b1860d9d65d11b4aa.1479975620.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.7.1.410.g6faf27b Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 --- kernel/sched/cpufreq_schedutil.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.7.1.410.g6faf27b -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 42a220e78f00..71e1a980d40a 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 Real Time 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. */