cpu, x86: Allow the TLB to be warmed up before CPU switch
Review Request #3474 - Created May 20, 2016 and updated
| Information | |
|---|---|
| Jason Lowe-Power | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11482:51dec612f11b --------------------------- cpu, x86: Allow the TLB to be warmed up before CPU switch Previously, before a CPU was switched out, the TLB was always flushed Now, we first call takeOverFrom with the TLB. We only flush the TLB right before the CPU is switched in. This changeset also contains the needed code for x86 to takeOverFrom with the TLB, similar changes may be needed for the ARM architecture. With this changeset, when you switch from atomic to timing mode the TLB is warm.
Posted (May 26, 2016, 6:16 a.m.)
-
src/arch/x86/tlb.cc (Diff revision 1) -
If this just (essentially) copy constructs a new TLB from the old, why can't the same TLB be used .. just reconnecting the SimObject graph? Presumably so some form of generality could in theory be applied, or this was more expedient?...
