* [Xenomai-core] Heaps again...
@ 2009-11-09 17:45 Jan Kiszka
2009-11-09 18:53 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2009-11-09 17:45 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai-core
Philippe,
having a Xenomai heap mapped and then forking / exiting the fork is not
a good idea, is it? I mean for the sake of archdep.numaps...
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-core] Heaps again...
2009-11-09 17:45 [Xenomai-core] Heaps again Jan Kiszka
@ 2009-11-09 18:53 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2009-11-09 18:53 UTC (permalink / raw)
Cc: xenomai-core
Jan Kiszka wrote:
> Philippe,
>
> having a Xenomai heap mapped and then forking / exiting the fork is not
> a good idea, is it? I mean for the sake of archdep.numaps...
OK, think I found the gremlin: xnheap_vmclose must be paired with a
xnheap_vmopen for proper reference counting, not simple mapping
operations. Will test my theory (actually: Linux Device Drivers'
explanation) and post a patch afterwards.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-09 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 17:45 [Xenomai-core] Heaps again Jan Kiszka
2009-11-09 18:53 ` Jan Kiszka
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.