zeroing pages in the idle task?
Geert Uytterhoeven
geert at linux-m68k.org
Fri Sep 15 21:49:12 EST 2000
On Thu, 14 Sep 2000, Takashi Oe wrote:
> On Wed, 13 Sep 2000, Geert Uytterhoeven wrote:
> > On the m68k, we have some code to guestimate the CPU clock based on the
> > BogoMIPS (see get_cpuinfo() in arch/m68k/kernel/setup.c). Since we didn't care
> > about the overhead incurred by interrupt processing, it's not that accurate
> > though (I get 24.8 MHz on my 25 MHz 68040).
>
> That thought had occured to me. Only problem is that the relationship
> between bogomips and cpu clock speed depends on, well, CPU. For 601, it's
> one to one, and, for 604, two to one, and so on. I don't know the ratios
> for 603, G3, or G4.
It's the same on m68k. Originally I had the ratios for 68040 only (and for
68000, which didn't matter at that time), but very soon I found them out for
other CPUs. All you need is a few testers :-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list