On 2025-09-25 08:18, Teddy Astie wrote:
Le 25/09/2025 à 12:48, Jan Beulich a écrit :
Along with Zen2 (which doesn't expose ERMS), both families reportedly
suffer from sub-optimal aliasing detection when deciding whether REP MOVSB
can actually be carried out the accelerated way. Therefore we want to
avoid its use in the common case (memset(), copy_page_hot()).
s/memset/memcpy (memset probably uses rep stosb which is not affected IIUC)
Reported-by: Andrew Cooper <[email protected]>
Signed-off-by: Jan Beulich <[email protected]>
With Teddy's suggested change:
Reviewed-by: Jason Andryuk <[email protected]>
Thanks,
Jason