Re: [PATCH 01/10] -mm: clocksource: increase initcall priority

From: Daniel Walker
Date: Sat Oct 07 2006 - 14:44:54 EST


On Sun, 2006-10-08 at 03:41 +0900, OGAWA Hirofumi wrote:

> >>>
> >>> We'll need to change it.
> >>
> >> We can add a call to clocksource_rating_change() inside
> >> acpi_pm_need_workaround(), are there deeper dependencies?
> >
> > There is no deeper dependencies. If it's meaning
> > clocksource_reselect() in current git, it sounds good to me.
>
> Ah, I was forgetting why I didn't before. If it's a buggy pmtmr, we'll
> get corrupted time until re-selecting the clocksource.
>
> If anybody doesn't care this will be good with it. If not, we would
> need to back to old one. IIRC, John did it.

We could just reverse it, use the verified read function until we know
it's a good PM timer, then switch to the faster read function.

Daniel

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