All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH 1/2] nucleus: Add semaphore heap statistics
Date: Mon, 19 Oct 2009 11:29:08 +0200	[thread overview]
Message-ID: <4ADC3164.8070207@domain.hid> (raw)
In-Reply-To: <20091019092052.2502.1090.stgit@domain.hid>

Jan Kiszka wrote:
> This extends /proc/xenomai/heap with statistics about the global as well
> as all per-process semaphore heaps. This is helpful to track down the
> reason for ENOMEM (system or sem heap full?) and to find out that we
> are leaking memory from the global heap on automatic native mutex,
> queue, and heap deletion.

I'd rather see the xnholder_t in the xnheap structure. This way, we
would be able to add all heaps to /proc/xenomai/heaps.

-- 
                                          Gilles



  reply	other threads:[~2009-10-19  9:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19  9:20 [Xenomai-core] [PATCH 0/2] Sem heap statistics & mutex auto-cleanup fixes Jan Kiszka
2009-10-19  9:20 ` [Xenomai-core] [PATCH 1/2] nucleus: Add semaphore heap statistics Jan Kiszka
2009-10-19  9:29   ` Gilles Chanteperdrix [this message]
2009-10-19 11:03     ` Jan Kiszka
2009-10-19  9:20 ` [Xenomai-core] [PATCH 2/2] native: Release fastlock to the proper heap Jan Kiszka

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=4ADC3164.8070207@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.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.