Messages in this thread | | | Date | Mon, 27 Oct 2008 12:36:21 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver |
| |
* Mike Travis <travis@sgi.com> wrote:
> > The idle thread always has pid 0. So if the timer sees > > current->pid == 0 it interrupted idle.
that's still hacky as it hardcodes the idle == pid-0 assumption. Please use the idle_cpu() function of the scheduler instead.
Ingo
| |