This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
malloc/free and priority inheritance?
- From: Stanislav Meduna <stano at meduna dot org>
- To: libc-help at sourceware dot org
- Cc: "linux-rt-users at vger dot kernel dot org" <linux-rt-users at vger dot kernel dot org>
- Date: Wed, 03 Apr 2013 01:06:36 +0200
- Subject: malloc/free and priority inheritance?
Hi,
I am hunting a possible priority inversion case and I would like
to ask whether the malloc/free from glibc (particularly 2.11.3
used in Debian 6 or newer) uses priority inheritance mutexes
when doing the necessary locking.
There is http://sourceware.org/bugzilla/show_bug.cgi?id=12114
which would suggest that it is not - is this (still) true?
If yes, is there some patch or are there tried&tested alternative
malloc libraries that do not have the problem (e.g. tcmalloc)?
I am using it on a RT_PREEMPT_FULL linux-rt.
Please Cc me on answer, I am not subscribed to libc-help
Thanks
--
Stano