[PATCH v5 0/6] x86: memcpy() / memset() (non-)ERMS flavors plus fallout

Jan Beulich posted 6 patches 4 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
[PATCH v5 0/6] x86: memcpy() / memset() (non-)ERMS flavors plus fallout
Posted by Jan Beulich 4 months, 3 weeks ago
While the performance varies quite a bit on older (pre-ERMS) and newer
(ERMS) hardware, so far we've been going with just a single flavor of
these two functions, and oddly enough with ones not consistent with one
another. Using plain memcpy() / memset() on MMIO (video frame buffer)
is generally okay, but the ERMS variant of memcpy() turned out to
regress (boot) performance in a way easily visible to the human eye
(meanwhile addressed by using ioremap_wc() there).

01: x86: suppress ERMS for internal use when MISC_ENABLE.FAST_STRING is clear
02: x86: re-work memset()
03: x86: re-work memcpy()
04: x86: control memset() and memcpy() inlining
05: x86: introduce "hot" and "cold" page clearing functions
06: mm: allow page scrubbing routine(s) to be arch controlled

Jan