summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2021-12-16 20:24:31 +0300
committerBorislav Petkov <bp@suse.de>2021-12-29 15:46:02 +0300
commit244122b4d2e5221e6abd6e21d6a58170104db781 (patch)
treed4e2ba23bdd27e226016e9028591204c737cb8a2 /tools/perf/scripts/python/export-to-sqlite.py
parent9c7e2634f647630db4e0719391dd80cd81132a66 (diff)
downloadlinux-244122b4d2e5221e6abd6e21d6a58170104db781.tar.xz
x86/lib: Add fast-short-rep-movs check to copy_user_enhanced_fast_string()
Commit f444a5ff95dc ("x86/cpufeatures: Add support for fast short REP; MOVSB") fixed memmove() with an ALTERNATIVE that will use REP MOVSB for all string lengths. copy_user_enhanced_fast_string() has a similar run time check to avoid using REP MOVSB for copies less that 64 bytes. Add an ALTERNATIVE to patch out the short length check and always use REP MOVSB on X86_FEATURE_FSRM CPUs. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211216172431.1396371-1-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions