
This commit updates the standard kernel to 3.10.0-838 and the rt kernel to 3.10.0-802. Driver updates to ensure compilation also added (Mellanox driver, specifically) Depends-On: https://review.openstack.org/580689 Change-Id: Ie52d7df2f097ea03158b3b3a3334b61833cbdf57 Story: 2002761 Signed-off-by: Jason McKenna <jason.mckenna@windriver.com> Story: 2002761 Task: 22841
53 lines
2.0 KiB
Diff
53 lines
2.0 KiB
Diff
From 9218064183a57581be8b7b980ce4b8ac9821555b Mon Sep 17 00:00:00 2001
|
|
Message-Id: <9218064183a57581be8b7b980ce4b8ac9821555b.1528226387.git.Jim.Somerville@windriver.com>
|
|
In-Reply-To: <c8270e79f6b7008fde44b8d5aa6314d8cf89d3ed.1528226387.git.Jim.Somerville@windriver.com>
|
|
References: <c8270e79f6b7008fde44b8d5aa6314d8cf89d3ed.1528226387.git.Jim.Somerville@windriver.com>
|
|
From: Alex Shi <alex.shi@linaro.org>
|
|
Date: Thu, 12 Jan 2017 21:27:02 +0800
|
|
Subject: [PATCH 21/32] cpuidle/menu: stop seeking deeper idle if current state
|
|
is deep enough
|
|
|
|
[ commit 8e37e1a2a3295f5d99e6dbe99eca24eca7a034ef from linux-stable ]
|
|
|
|
Obsolete commit 71abbbf856a0 (cpuidle: extend cpuidle and menu
|
|
governor to handle dynamic states) wanted to introduce dynamic C-states, but
|
|
that idea was dropped long ago. The nonsense deeper C-state checking
|
|
remained, though.
|
|
|
|
Since both target_residency and exit_latency are longer for deeper
|
|
idle state, there's no need to waste CPU time on useless checks.
|
|
|
|
Signed-off-by: Alex Shi <alex.shi@linaro.org>
|
|
Acked-by: Rik van Riel <riel@redhat.com>
|
|
[ rjw: Subject & changelog ]
|
|
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
|
|
|
|
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
|
|
---
|
|
drivers/cpuidle/governors/menu.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
|
|
index c99fee9..eb9fb0e 100644
|
|
--- a/drivers/cpuidle/governors/menu.c
|
|
+++ b/drivers/cpuidle/governors/menu.c
|
|
@@ -323,11 +323,11 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev)
|
|
if (s->disabled || su->disable)
|
|
continue;
|
|
if (s->target_residency > data->predicted_us)
|
|
- continue;
|
|
+ break;
|
|
if (s->exit_latency > latency_req)
|
|
- continue;
|
|
+ break;
|
|
if (s->exit_latency * multiplier > data->predicted_us)
|
|
- continue;
|
|
+ break;
|
|
|
|
data->last_state_idx = i;
|
|
data->exit_us = s->exit_latency;
|
|
--
|
|
1.8.3.1
|
|
|