lkml.org 
[lkml]   [2003]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH] idle using PNI monitor/mwait (take 3)
Date
From


> -----Original Message-----
> From: Zwane Mwaikambo [mailto:zwane@arm.linux.org.uk]
> On Fri, 5 Sep 2003, Nakajima, Jun wrote:
>
> > + if (!pm_idle) {
> > + pm_idle = mwait_idle;
> > + }
> > + return;
> > + }
> > + pm_idle = default_idle;
>
> You don't have to set that.
>

The idea is to handle smp systems with asymmetric CPUs (if any such system
is built one day :)). We will use mwait, only if all the CPUs support it.
If any CPU doesn't support mwait, then we switch back to default_idle.
Note that pm_idle will be NULL by default.

Thanks,
-Venkatesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.029 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site