Messages in this thread | | | Subject | RE: [PATCH] idle using PNI monitor/mwait (take 3) | Date | Sat, 6 Sep 2003 00:22:50 -0700 | From | "Pallipadi, Venkatesh" <> |
| |
> -----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/
| |