Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1521723 > unrolled thread
| Started by | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| First post | 2016-11-14 16:00 +0100 |
| Last post | 2016-11-14 16:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/3] cpuidle: allow setting deepest idle Peter Zijlstra <peterz@infradead.org> - 2016-11-14 16:00 +0100
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Date | 2016-11-14 16:00 +0100 |
| Subject | Re: [PATCH 2/3] cpuidle: allow setting deepest idle |
| Message-ID | <sDqTM-8jU-9@gated-at.bofh.it> |
On Wed, Nov 09, 2016 at 11:05:11AM -0800, Jacob Pan wrote:
> --- a/kernel/sched/idle.c
> +++ b/kernel/sched/idle.c
> @@ -173,6 +173,9 @@ static void cpuidle_idle_call(void)
>
> next_state = cpuidle_find_deepest_state(drv, dev);
> call_cpuidle(drv, dev, next_state);
> + } else if (dev->use_deepest_state) {
> + next_state = cpuidle_find_deepest_state(drv, dev);
> + call_cpuidle(drv, dev, next_state);
looks like excessive indenting..
> } else {
> /*
> * Ask the cpuidle framework to choose a convenient idle state.
> --
> 1.9.1
>
Back to top | Article view | linux.kernel
csiph-web