Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Philippe Gerum
On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via xnthread_t::hrescnt. This BUGON in xnsynch_release triggers for RT threads: XENO_BUGON(NUCLEUS,

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Gilles Chanteperdrix
On 05/31/2011 06:29 PM, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via xnthread_t::hrescnt. This BUGON in xnsynch_release triggers for RT threads:

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Jan Kiszka
On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via xnthread_t::hrescnt. This BUGON in xnsynch_release triggers for RT threads:

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Philippe Gerum
On Tue, 2011-05-31 at 18:38 +0200, Gilles Chanteperdrix wrote: On 05/31/2011 06:29 PM, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Gilles Chanteperdrix
On 05/31/2011 06:38 PM, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via xnthread_t::hrescnt. This BUGON in

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Jan Kiszka
On 2011-05-31 18:50, Gilles Chanteperdrix wrote: On 05/31/2011 06:38 PM, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Philippe Gerum
On Tue, 2011-05-31 at 18:38 +0200, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage tracking via xnthread_t::hrescnt. This

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Jan Kiszka
On 2011-05-31 18:58, Philippe Gerum wrote: On Tue, 2011-05-31 at 18:38 +0200, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some shortcomings of the in-kernel lock usage

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Gilles Chanteperdrix
On 05/31/2011 07:06 PM, Jan Kiszka wrote: On 2011-05-31 18:58, Philippe Gerum wrote: On Tue, 2011-05-31 at 18:38 +0200, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi Philippe, enabling XENO_OPT_DEBUG_NUCLEUS reveals some

Re: [Xenomai-core] Fragile lock usage tracking for auto-relax

2011-05-31 Thread Jan Kiszka
On 2011-05-31 19:58, Gilles Chanteperdrix wrote: On 05/31/2011 07:06 PM, Jan Kiszka wrote: On 2011-05-31 18:58, Philippe Gerum wrote: On Tue, 2011-05-31 at 18:38 +0200, Jan Kiszka wrote: On 2011-05-31 18:29, Philippe Gerum wrote: On Tue, 2011-05-31 at 13:37 +0200, Jan Kiszka wrote: Hi