Re: Voyager subarchitecture for 2.5.46

john stultz (johnstul@us.ibm.com)
11 Nov 2002 13:58:44 -0800


On Mon, 2002-11-11 at 12:57, J.E.J. Bottomley wrote:
> As a beginning, what about the attached patch? It eliminates the compile time
> TSC options (and thus hopefully the sources of confusion). I've exported
> tsc_disable, so it can be set by the subarchs if desired (voyager does this)
> and moved the notsc option into the timer_tsc code (which is where it looks
> like it belongs).

Looks good to me.

We'd still need to go back and yank out the #ifdef CONFIG_X86_TSC'ed
macros in profile.h and pksched.h or replace them w/ inlines that wrap
the rdtsc calls w/ if(cpu_has_tsc && !tsc_disable) or some such line.

But yea, its a start, assuming no one screams about not being able to
optimize out the timer_pit code.

thanks
-john

-
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/