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

Rafael J. Wysocki
2008-01-28T22:05:31Z

On Monday, 28 of January 2008, H. Peter Anvin wrote:
> Rafael J. Wysocki wrote:
> > 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.
> >
>
> So that case is deliberately considered broken?

Not deliberately, but the fix I had caused a regression. It's just a pending
issue.

Rafael