]> git.itanic.dy.fi Git - linux-stable/commit
x86: don't use REP_GOOD or ERMS for small memory clearing
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Apr 2023 19:01:14 +0000 (12:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 19 Apr 2023 00:05:28 +0000 (17:05 -0700)
commit20f3337d350c4e1b4ac66d731fd4e98565bf6cc0
tree8367e98527a5dc7ba4e3ae67ea7f2bf3b6b41267
parent68674f94ffc9dddc45e7733963ecc35c5eda9efd
x86: don't use REP_GOOD or ERMS for small memory clearing

The modern target to use is FSRS (Fast Short REP STOS), and the other
cases should only be used for bigger areas (ie mainly things like page
clearing).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/lib/memset_64.S