From: Paul <paul_c@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_queue_delete returns -EBUSY
Date: Sat, 20 Sep 2008 11:19:02 +0100 [thread overview]
Message-ID: <200809201119.02149.paul_c@domain.hid> (raw)
In-Reply-To: <48CE9B69.8010604@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
Hi Philippe
On Monday 15 September 2008, Philippe Gerum wrote:
> Petr Cervenka wrote:
> > I tried the patch on xenomai 2.4.5. After a couple of my long run tests I
> > have found no errors. So I am very satisfied with it ;-)
>
> Ok, thanks. I'm queuing this patch for commit to both branches then.
It would appear that the patch is missing changes in a couple of spots that is
causing kernel compiles to break - Assuming the secord arg to
xnheap_destroy_mapped is NULL, the attached (trivial) patch addresses the
problem in TRUNK.
Regards, Paul.
[-- Attachment #2: xnheap_destroy_mapped.patch --]
[-- Type: text/x-diff, Size: 911 bytes --]
Index: ksrc/nucleus/module.c
===================================================================
--- ksrc/nucleus/module.c (revision 4175)
+++ ksrc/nucleus/module.c (working copy)
@@ -1238,7 +1238,7 @@ void __exit __xeno_sys_exit(void)
#endif /* CONFIG_XENO_OPT_PIPE */
#endif /* __KERNEL__ */
- xnheap_destroy_mapped(&__xnsys_global_ppd.sem_heap);
+ xnheap_destroy_mapped(&__xnsys_global_ppd.sem_heap, NULL);
if (nkmsgbuf)
xnarch_free_host_mem(nkmsgbuf, XNPOD_FATAL_BUFSZ);
Index: ksrc/nucleus/shadow.c
===================================================================
--- ksrc/nucleus/shadow.c (revision 4175)
+++ ksrc/nucleus/shadow.c (working copy)
@@ -1954,7 +1954,7 @@ static void *xnshadow_sys_event(int even
case XNSHADOW_CLIENT_DETACH:
p = ppd2sys((xnshadow_ppd_t *) data);
- xnheap_destroy_mapped(&p->sem_heap);
+ xnheap_destroy_mapped(&p->sem_heap, NULL);
return NULL;
}
next prev parent reply other threads:[~2008-09-20 10:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-25 15:43 [Xenomai-help] rt_queue_delete returns -EBUSY Petr Cervenka
2008-08-25 16:24 ` Philippe Gerum
2008-09-04 16:04 ` Petr Cervenka
2008-09-04 21:46 ` Mark Saiia
2008-09-05 8:46 ` Gilles Chanteperdrix
2008-09-08 10:34 ` Philippe Gerum
2008-09-15 13:04 ` Petr Cervenka
2008-09-15 17:29 ` Philippe Gerum
2008-09-20 10:19 ` Paul [this message]
2008-09-20 13:54 ` Philippe Gerum
2008-09-21 9:09 ` Gilles Chanteperdrix
2008-08-25 16:51 ` Philippe Gerum
[not found] ` <200808260929.2847@domain.hid>
[not found] ` <200808260935.5720@domain.hid>
2008-08-26 8:07 ` Petr Cervenka
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=200809201119.02149.paul_c@domain.hid \
--to=paul_c@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.