summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-08-10 19:36:56 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-08-23 13:37:06 +0200
commit69ee5dc11a56c29c240161ec4dae6abd3c952776 (patch)
treeb646adcf69a832e652b059cd8058f27a0124b3b1 /locale/weightwc.h
parentmalloc: Enable merging of remainders in memalign (bug 30723) (diff)
downloadglibc-gentoo/glibc-2.38-2.tar.gz
glibc-gentoo/glibc-2.38-2.tar.bz2
glibc-gentoo/glibc-2.38-2.zip
malloc: Remove bin scanning from memalign (bug 30723)gentoo/glibc-2.38-2
On the test workload (mpv --cache=yes with VP9 video decoding), the bin scanning has a very poor success rate (less than 2%). The tcache scanning has about 50% success rate, so keep that. Update comments in malloc/tst-memalign-2 to indicate the purpose of the tests. Even with the scanning removed, the additional merging opportunities since commit 542b1105852568c3ebc712225ae78b ("malloc: Enable merging of remainders in memalign (bug 30723)") are sufficient to pass the existing large bins test. Remove leftover variables from _int_free from refactoring in the same commit. Reviewed-by: DJ Delorie <dj@redhat.com> (cherry picked from commit 0dc7fc1cf094406a138e4d1bcf9553e59edcf89d) (cherry picked from commit 2af141bda3cd407abd4bedf615f9e45fe79518e2)
Diffstat (limited to 'locale/weightwc.h')
0 files changed, 0 insertions, 0 deletions