All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: "Moser, Dan" <DMoser@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] deleting a left over heap (shared memory segment)
Date: Tue, 11 Apr 2006 22:30:07 +0200	[thread overview]
Message-ID: <443C11CF.7030905@domain.hid> (raw)
In-Reply-To: <067C9A1F6AFEB643895EA4513E116884178FF2@domain.hid>

Moser, Dan wrote:
> Hi,
> 
> I was wondering if there was a command line method for deleting left
> over heaps (i.e., those that were not properly deleted with a call to
> rt_heap_delete()) from /proc/xenomai/registry/native/heaps.
> 
> Just a simple rm command (as root) yields the following:
> 
> # rm -f myshmem
> cannot remove `myshmem': Operation not permitted
> 

For the moment, there is way to remove lingering native API objects from 
the /proc interface. On the other hand, the RTDM API allows this for 
some of its objects by writing a magic value to the proper /proc entry, 
and we might use the same technique to provide this feature to the 
native one.

> Thanks in advance for any help/insight,
> Dan
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 

Philippe.


  reply	other threads:[~2006-04-11 20:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 15:45 [Xenomai-help] deleting a left over heap (shared memory segment) Moser, Dan
2006-04-11 20:30 ` Philippe Gerum [this message]
2006-04-11 20:42   ` Philippe Gerum
2006-04-11 20:47   ` [Xenomai-core] " 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=443C11CF.7030905@domain.hid \
    --to=rpm@xenomai.org \
    --cc=DMoser@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.