Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 19:38:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259076] pthread_mutex_init fails with limited AS
Message-ID:  <bug-259076-227-eXh5RAUh6W@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259076-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259076-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259076

Denis Koreshkov <dynamic-wind@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|CURRENT                     |13.0-RELEASE

--- Comment #3 from Denis Koreshkov <dynamic-wind@mail.ru> ---
(In reply to Konstantin Belousov from comment #1)
Sorry, I cannot confirm, but after some more testing I think that fixing rt=
ld
won't help much.

Please have a look at the attached program. On 11.2-RELEASE it prints
alloc 51712 Kbytes
freed 51712 Kbytes
612224 mutexes: 76528 Kbytes
Whereas on 13.0-RELEASE the result is
alloc 45312 Kbytes
freed 45312 Kbytes
0 mutexes: 0 Kbytes
(It MUST be compiled with -pthread)

Apparently jemalloc does not unmap free pages on the second system, which is
where I noticed pthread_mutex_init failures.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259076-227-eXh5RAUh6W>