Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

Rafael J. Wysocki
2008-01-28T20:52:34Z

On Monday, 28 of January 2008, Jeremy Fitzhardinge wrote:
> Rafael J. Wysocki wrote:
> > Actually, no. We only do that with the kernel code mapping which should be
> > safe as long as TLBs are not flushed (and they aren't).
> >
>
> Er, what? Assuming the TLB will retain some mappings while you
> overwrite the pagetable is a highly dubious prospect. Are you copying
> the same values over, or something else?

As long as a relocatable kernel is not used to restore a non-relocatable one
(or vice versa), we're copying the same values over.

Rafael