diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-08-11 18:48:18 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-09-11 22:48:07 -0500 |
commit | 863fc577db623c4d14a889d38c5f73e2d61dc8e5 (patch) | |
tree | 279fd0d86e9b3a97b26d1a43960a841ae16f8361 /debug/backtracesymsfd.c | |
parent | e8132392cd5733e269c2e8c9026716c95bc2b247 (diff) | |
download | glibc-863fc577db623c4d14a889d38c5f73e2d61dc8e5.tar.gz glibc-863fc577db623c4d14a889d38c5f73e2d61dc8e5.tar.xz glibc-863fc577db623c4d14a889d38c5f73e2d61dc8e5.zip |
x86: Fix slight bug in `shared_per_thread` cache size calculation.
After: ``` commit af992e7abdc9049714da76cae1e5e18bc4838fb8 Author: Noah Goldstein <goldstein.w.n@gmail.com> Date: Wed Jun 7 13:18:01 2023 -0500 x86: Increase `non_temporal_threshold` to roughly `sizeof_L3 / 4` ``` Split `shared` (cumulative cache size) from `shared_per_thread` (cache size per socket), the `shared_per_thread` *can* be slightly off from the previous calculation. Previously we added `core` even if `threads_l2` was invalid, and only used `threads_l2` to divide `core` if it was present. The changed version only included `core` if `threads_l2` was valid. This change restores the old behavior if `threads_l2` is invalid by adding the entire value of `core`. Reviewed-by: DJ Delorie <dj@redhat.com> (cherry picked from commit 47f747217811db35854ea06741be3685e8bbd44d)
Diffstat (limited to 'debug/backtracesymsfd.c')
0 files changed, 0 insertions, 0 deletions