Messages in this thread | | | Subject | Re: linux-2.6.0-test2: Never using pm_idle (CPU wasting power) | From | Robert Love <> | Date | 31 Jul 2003 16:26:11 -0700 |
| |
On Thu, 2003-07-31 at 15:58, Robert Love wrote: > On Thu, 2003-07-31 at 15:45, Roger Larsson wrote: > > > This smells preemptive kernel, correct? > > Doesn't look like anything specific to kernel preemption to me.
Oh I really misgrok'ed this.
Yah, kernel preemption catches the reschedule off of the interrupt and thus this is never true (always zero). The "never zero" thing confused me, sorry.
Moving the stuff into the while loop is one option.
Robert Love
- 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/
| |