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/65ccfd27cddf
branches:  trunk
changeset: 997620:65ccfd27cddf
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 ec6712980164 -r 65ccfd27cddf 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