Re: [PATCH] x86_64: move out tick_nohz_stop_sched_tick() call from the loop

2008-01-10 Thread Ingo Molnar

* Hiroshi Shimamoto <[EMAIL PROTECTED]> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] x86_64: move out tick_nohz_stop_sched_tick() call from the loop

2008-01-10 Thread Ingo Molnar

* Hiroshi Shimamoto [EMAIL PROTECTED] 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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/