Re: New pentium bug workaround - please test..

Hans Lermen (lermen@elserv.ffm.fgan.de)
Fri, 21 Nov 1997 17:32:09 +0100 (MET)


On Fri, 21 Nov 1997, Mikael Pettersson wrote:
> On Thu, 20 Nov 1997, Hans Lermen wrote:
> > On Wed, 19 Nov 1997, Linus Torvalds wrote:
> > > What we could just do, is to re-use the original page that contained the
> > > very original IDT - and keep modifying that original page through its
> > > original address.
> > Ok, done, tested, works. Patch for vanilla 2.0.32 is appended.
> Good work. Just to clean up things a little: with the new version
> of the workaround, we no longer need the indirect pointer to the
> idt that was introduced to support the previous workaround.

right.

> The patch below (apply to 2.0.32 after Hans' patch) fixes that.
> (Oh, and it also moves a duplicated type definition into
^^^^^^^^^^^^^^^^^^^^^^^^^^
> include/linux/head.h. Why isn't that x86-specific file in asm-i386?)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ahem, ... that was the reason they were duplicated ;-)

Hans
<lermen@fgan.de>