Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/src PR/54062: Fix the "snprintf_f...



details:   https://anonhg.NetBSD.org/src/rev/9f3392bb530e
branches:  trunk
changeset: 449684:9f3392bb530e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 16 21:32:04 2019 +0000

description:
PR/54062: Fix the "snprintf_float" test failing after the jemalloc import
issue: jemalloc uses a lot more memory (if it can find it) by default and
this test limited the amount of memory it could get, causing it to get to
an error path with a missing mutex_unlock...

diffstat:

 external/bsd/jemalloc/dist/src/extent.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 92a61dfbd4d1 -r 9f3392bb530e external/bsd/jemalloc/dist/src/extent.c
--- a/external/bsd/jemalloc/dist/src/extent.c   Sat Mar 16 13:33:10 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/extent.c   Sat Mar 16 21:32:04 2019 +0000
@@ -748,6 +748,7 @@
 
        if (extent_rtree_leaf_elms_lookup(tsdn, rtree_ctx, extent, false, true,
            &elm_a, &elm_b)) {
+               extent_unlock(tsdn, extent);
                return true;
        }
 



Home | Main Index | Thread Index | Old Index