Re: New pentium bug workaround - please test..

Linus Torvalds (torvalds@transmeta.com)
Wed, 19 Nov 1997 12:56:17 -0800 (PST)


On Wed, 19 Nov 1997, Hans Lermen wrote:
>
> In principal you are right, but the 'alias' version would require
> _one_ page of mem only while your solution needs _two_ pages.
> ( admitted, I forgot to do __freepage() for the lower page in my patch )

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. We'd just also map that page (read-only) to another
address, and use lidt to point to that one (but the kernel would still use
the original "idt").

Linus