[Xenomai-core] User space stack pre-faulting

2011-06-22 Thread Jan Kiszka
Hi Gilles, do you remember reasons for only pre-faulting the main thread's stack? The desire to avoid wasting resources by forcing all stacks into memory? I've the requirement on my table to provide a generic solution of all shadow threads. I think this should be possible using

Re: [Xenomai-core] User space stack pre-faulting

2011-06-22 Thread Gilles Chanteperdrix
On 06/22/2011 11:26 AM, Jan Kiszka wrote: Hi Gilles, do you remember reasons for only pre-faulting the main thread's stack? The desire to avoid wasting resources by forcing all stacks into memory? I've the requirement on my table to provide a generic solution of all shadow threads. I

Re: [Xenomai-core] User space stack pre-faulting

2011-06-22 Thread Jan Kiszka
On 2011-06-22 12:36, Gilles Chanteperdrix wrote: On 06/22/2011 11:26 AM, Jan Kiszka wrote: Hi Gilles, do you remember reasons for only pre-faulting the main thread's stack? The desire to avoid wasting resources by forcing all stacks into memory? I've the requirement on my table to provide a

Re: [Xenomai-core] User space stack pre-faulting

2011-06-22 Thread Gilles Chanteperdrix
On 06/22/2011 12:55 PM, Jan Kiszka wrote: On 2011-06-22 12:36, Gilles Chanteperdrix wrote: On 06/22/2011 11:26 AM, Jan Kiszka wrote: Hi Gilles, do you remember reasons for only pre-faulting the main thread's stack? The desire to avoid wasting resources by forcing all stacks into memory?

Re: [Xenomai-core] User space stack pre-faulting

2011-06-22 Thread Jan Kiszka
On 2011-06-22 12:56, Gilles Chanteperdrix wrote: On 06/22/2011 12:55 PM, Jan Kiszka wrote: On 2011-06-22 12:36, Gilles Chanteperdrix wrote: On 06/22/2011 11:26 AM, Jan Kiszka wrote: Hi Gilles, do you remember reasons for only pre-faulting the main thread's stack? The desire to avoid wasting

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

2011-06-22 Thread Gilles Chanteperdrix
On 05/19/2011 10:29 PM, Philippe Gerum wrote: 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

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

2011-06-22 Thread Philippe Gerum
On Wed, 2011-06-22 at 19:16 +0200, Gilles Chanteperdrix wrote: On 05/19/2011 10:29 PM, Philippe Gerum wrote: 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

[Xenomai-core] RFC: use a pool of pre-allocated buffers in rt_printf

2011-06-22 Thread Gilles Chanteperdrix
Hi, I would like to better integrate rtdk and the posix skin by forcibly wrapping the calls to malloc/free and also wrap printf to call rt_printf. However, currently, rt_printf can not really be used as a drop-in replacement of printf: - it is necessary to call rt_printf_auto_init, we can do