]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Fix misordered logic for setting `rep_movsb_stop_threshold`
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 14 Jun 2022 20:50:11 +0000 (13:50 -0700)
committerSunil K Pandey <skpgkp2@gmail.com>
Tue, 19 Jul 2022 05:13:57 +0000 (22:13 -0700)
commit20bfbb3a5789551a09b1ec4db97dcaed6f9180f0
tree173766a352c34a8010dafc7ef0ca97ae48320380
parentb64acbbe2669ef0509b32680b07122740b48cd96
x86: Fix misordered logic for setting `rep_movsb_stop_threshold`

Move the setting of `rep_movsb_stop_threshold` to after the tunables
have been collected so that the `rep_movsb_stop_threshold` (which
is used to redirect control flow to the non_temporal case) will
use any user value for `non_temporal_threshold` (set using
glibc.cpu.x86_non_temporal_threshold)

(cherry picked from commit 035591551400cfc810b07244a015c9411e8bff7c)
sysdeps/x86/dl-cacheinfo.h