Re: [patch, 2.1.124] Re: BogoMIPS

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Wed, 7 Oct 1998 13:29:55 +0200


Hello,

> anyway, i'd be curious wether the attached patch shows any effect on
> machines that are affected by BogoMIPS irregularities. We cannot .align
> PAGE_SIZE due to ld limitations, but we can pull another trick to force
> __delay on a page boundary. (the current version wastes about 2000 bytes
> of nonswappable memory too)

Aligning to the least power of two larger than delay loop size plus prefetch
size seems to be sufficient, isn't it? I guess the linker should be able to
handle such relatively small alignment...

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Beware of bugs in the above code; I have only proved it correct, not tried it."

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