diff options
author | 2011-05-17 15:29:14 -0700 | |
---|---|---|
committer | 2011-05-17 15:40:27 -0700 | |
commit | e365c9df2f2f001450decf9512412d2d5bd1cdef (patch) | |
tree | 3670f466631b7ddeb710f54899020ee4a792edc4 /drivers/rtc | |
parent | x86, alternative: Add altinstruction_entry macro (diff) | |
download | linux-dev-e365c9df2f2f001450decf9512412d2d5bd1cdef.tar.xz linux-dev-e365c9df2f2f001450decf9512412d2d5bd1cdef.zip |
x86, mem: clear_page_64.S: Support clear_page() with enhanced REP MOVSB/STOSB
Intel processors are adding enhancements to REP MOVSB/STOSB and the use of
REP MOVSB/STOSB for optimal memcpy/memset or similar functions is recommended.
Enhancement availability is indicated by CPUID.7.0.EBX[9] (Enhanced REP MOVSB/
STOSB).
Support clear_page() with rep stosb for processor supporting enhanced REP MOVSB
/STOSB. On processors supporting enhanced REP MOVSB/STOSB, the alternative
clear_page_c_e function using enhanced REP STOSB overrides the original function
and the fast string function.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1305671358-14478-6-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions