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 beEr, 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?
safe as long as TLBs are not flushed (and they aren't).
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.