All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Meduna <stano-eBkVDd3zSwodnm+yROfE0A@public.gmane.org>
To: libc-help-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org
Cc: "linux-rt-users-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rt-users-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: malloc/free and priority inheritance?
Date: Wed, 03 Apr 2013 01:06:36 +0200	[thread overview]
Message-ID: <515B647C.3080505@meduna.org> (raw)

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

             reply	other threads:[~2013-04-02 23:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 23:06 Stanislav Meduna [this message]
2013-04-04 12:59 ` malloc/free and priority inheritance? Stanislav Meduna
2013-04-04 13:30   ` Stanislav Meduna
2013-04-04 13:37     ` Siddhesh Poyarekar
2013-04-04 14:53       ` Carlos O'Donell
2013-04-04 15:32         ` Siddhesh Poyarekar
2013-04-06 14:24           ` Carlos O'Donell
2013-04-04 15:09       ` Stanislav Meduna
2013-04-04 15:39         ` Siddhesh Poyarekar
2013-04-05 17:39           ` Darren Hart
2013-04-06 14:27             ` Carlos O'Donell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515B647C.3080505@meduna.org \
    --to=stano-ebkvdd3zswodnm+yrofe0a@public.gmane.org \
    --cc=libc-help-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org \
    --cc=linux-rt-users-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.