Re: [PATCH 0/2] Speed MTRR programming up when we can

2019-06-27 Thread Thomas Gleixner
On Thu, 27 Jun 2019, Ricardo Neri wrote: > By measuring the execution time of mtrr_aps_init() (from which MTRRs > in all CPUs are programmed in lock-step at boot), I find savings in the > time required to program MTRRs as follows: > > Platform time-with-wbinvd(ms) time-no-wbin

[PATCH 0/2] Speed MTRR programming up when we can

2019-06-27 Thread Ricardo Neri
Programming MTRR registers in multi-processor systems is a rather lengthy process. Furthermore, all processors must program these registers in lock step and with interrupts disabled; the process also involves flushing caches and TLBs twice. As a result, the process may take a considerable amount of