[Xenomai-core] I solved the problem of the shared memory cannot be allocated in the user space

2011-05-19 Thread arethe.rtai
HI all: I solved the problem of the shared memory cannot be allocated in the user space. Because the shared memory space are allocated from the kheap, but the kheap is not a mapped heap, i.e. its pages are not reserved. I init the kheap by xnheap_init_mapped rather than xnheap_init. The pro

Re: [Xenomai-core] I suspect the shared memory of Xenomai has bug.

2011-05-19 Thread Philippe Gerum
On Thu, 2011-05-19 at 15:37 +0800, arethe.rtai wrote: >  > I solved the problem of the shared memory cannot be allocated in the > user space. > Because the shared memory space are allocated from the kheap, but the > kheap is not a mapped heap, i.e. its pages are not reserved. > I init the kheap

[Xenomai-core] [RFC] Getting rid of the NMI latency watchdog

2011-05-19 Thread Philippe Gerum
The NMI latency watchdog is a feature Xenomai supports when proper hardware is available, which triggers a stack backtrace dump, then panics when a real-time timer tick is late by a given amount of time. We used it in the early times to chase pathological latencies, particularly when debugging the

Re: [Xenomai-core] [RFC] Getting rid of the NMI latency watchdog

2011-05-19 Thread Gilles Chanteperdrix
On 05/19/2011 03:58 PM, Philippe Gerum wrote: > For this reason, I'm considering issuing a patch for a complete removal > of the NMI latency watchdog code in Xenomai 2.6.x, disabling the feature > for 2.6.38 kernels and above in 2.5.x. > > Comments welcome. I am in the same case as you: I no long

Re: [Xenomai-core] [RFC] Getting rid of the NMI latency watchdog

2011-05-19 Thread Jan Kiszka
On 2011-05-19 20:15, Gilles Chanteperdrix wrote: > On 05/19/2011 03:58 PM, Philippe Gerum wrote: >> For this reason, I'm considering issuing a patch for a complete removal >> of the NMI latency watchdog code in Xenomai 2.6.x, disabling the feature >> for 2.6.38 kernels and above in 2.5.x. >> >> Com

Re: [Xenomai-core] [RFC] Getting rid of the NMI latency watchdog

2011-05-19 Thread Philippe Gerum
On Thu, 2011-05-19 at 20:36 +0200, Jan Kiszka wrote: > On 2011-05-19 20:15, Gilles Chanteperdrix wrote: > > On 05/19/2011 03:58 PM, Philippe Gerum wrote: > >> For this reason, I'm considering issuing a patch for a complete removal > >> of the NMI latency watchdog code in Xenomai 2.6.x, disabling th