Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1521723 > unrolled thread

Re: [PATCH 2/3] cpuidle: allow setting deepest idle

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-11-14 16:00 +0100
Last post2016-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.


Contents

  Re: [PATCH 2/3] cpuidle: allow setting deepest idle Peter Zijlstra <peterz@infradead.org> - 2016-11-14 16:00 +0100

#1521723 — Re: [PATCH 2/3] cpuidle: allow setting deepest idle

FromPeter Zijlstra <peterz@infradead.org>
Date2016-11-14 16:00 +0100
SubjectRe: [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
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web