Re: trampoline question

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 30 Nov 1999 18:16:07 +0000 (GMT)


> I tried to further clean up the i386 trampoline code, and I found 2
> weird lines:

This is from 2.0 days I think

> 2) arch/i386/kernel/head.S enables the 4 MB page tables twice:
>
> around line 65, the secondary cpu loads the cr4 value from the primary
> cpu, and around line 220 it unconditionally enables 4 MB page tables.

On 2.0.x this was neccessry because the page tables preset for us had 4Mb
entries and an SMP box would burn if they were not set.

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