Please sign in to comment.
x86, mem: clear_page_64.S: Support clear_page() with enhanced REP MOV…
…SB/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 (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 <firstname.lastname@example.org> Link: http://email@example.com Signed-off-by: H. Peter Anvin <firstname.lastname@example.org>
- Loading branch information...