lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 10 Jan 2008 09:01:46 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] x86_64: move out tick_nohz_stop_sched_tick() call from the loop
* Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:

> @@ -170,14 +170,13 @@ void cpu_idle(void)
>  	current_thread_info()->status |= TS_POLLING;
>  	/* endless idle loop with no priority at all */
>  	while (1) {
> +		tick_nohz_stop_sched_tick();
>  		while (!need_resched()) {
>  			void (*idle)(void);
> 
>  			if (__get_cpu_var(cpu_idle_state))
>  				__get_cpu_var(cpu_idle_state) = 0;
> 
> -			tick_nohz_stop_sched_tick();
> -

thanks, applied.

	Ingo


\
 
 \ /
  Last update: 2008-01-10 08:05    [from the cache]
©2003-2008