Skip to contentSkip to conversation

Xenomai 2.6.0, or -rc1?

Xenomai-core Gilles Chanteperdrix 5 participants 9 messages Aug 26, 2011 – Aug 30, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

Thanks in advance for your input.

Signature · 1 line
					    Gilles.
#1 lore raw
Quoted 5 lines · Gilles Chanteperdrix

Hi,

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

No patches ATM, but [1] is still an open bug - a bug that affects the ABI.

Jan

[1] http://thread.gmane.org/gmane.linux.real-time.xenomai.devel/8343

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 4 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

Quoted 9 lines
Quoted 2 lines

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

No patches ATM, but [1] is still an open bug - a bug that affects the ABI.

Jan

[1] http://thread.gmane.org/gmane.linux.real-time.xenomai.devel/8343

I had forgotten about this one. So, the only real problem is if a SCHED_NOTOTHER thread switches to SCHED_OTHER, this appears to be a corner case, so, I wonder if you should not simply add a special treatment, only for this corner case.

What I have in mind is keeping a list of xnsynch in kernel-space (this basically means having an xnholder_t more in the xnsynch structure), and when we trip the corner case (thread with SCHED_FIFO switches to SCHED_OTHER), walk the list to find how many xnsynch the thread is the owner, we have that info in kernel-space, and set the refcnt accordingly.

Or does it still sound overkill?

Signature · 1 line
                                                                Gilles.
#3 lore raw
Quoted 20 lines · Gilles Chanteperdrix
Quoted 4 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

Quoted 9 lines
Quoted 2 lines

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

No patches ATM, but [1] is still an open bug - a bug that affects the ABI.

Jan

[1] http://thread.gmane.org/gmane.linux.real-time.xenomai.devel/8343

I had forgotten about this one. So, the only real problem is if a SCHED_NOTOTHER thread switches to SCHED_OTHER, this appears to be a corner case, so, I wonder if you should not simply add a special treatment, only for this corner case.

Quoted 8 lines

What I have in mind is keeping a list of xnsynch in kernel-space (this basically means having an xnholder_t more in the xnsynch structure), and when we trip the corner case (thread with SCHED_FIFO switches to SCHED_OTHER), walk the list to find how many xnsynch the thread is the owner, we have that info in kernel-space, and set the refcnt accordingly.

Or does it still sound overkill?

Mmh, need to think about it. Yeah, we do not support PTHREAD_MUTEX_INITIALIZER, so we do not share that part of the problem with futexes.

If we have all objects and can explore ownership, we can also implement robust mutexes this way, i.e. waiter signaling when the owner dies.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#4 lore raw
Quoted 27 lines · Jan Kiszka
Quoted 26 lines · Gilles Chanteperdrix
Quoted 4 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

Quoted 9 lines
Quoted 2 lines

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

No patches ATM, but [1] is still an open bug - a bug that affects the ABI.

Jan

[1] http://thread.gmane.org/gmane.linux.real-time.xenomai.devel/8343

I had forgotten about this one. So, the only real problem is if a SCHED_NOTOTHER thread switches to SCHED_OTHER, this appears to be a corner case, so, I wonder if you should not simply add a special treatment, only for this corner case.

What I have in mind is keeping a list of xnsynch in kernel-space (this basically means having an xnholder_t more in the xnsynch structure), and when we trip the corner case (thread with SCHED_FIFO switches to SCHED_OTHER), walk the list to find how many xnsynch the thread is the owner, we have that info in kernel-space, and set the refcnt accordingly.

Quoted 6 lines
Quoted 2 lines

Or does it still sound overkill?

Mmh, need to think about it. Yeah, we do not support PTHREAD_MUTEX_INITIALIZER, so we do not share that part of the problem with futexes.

Actually, we could implement PTHREAD_MUTEX_INITIALIZER: when the magic is wrong, just issue a pthread_mutex_init syscall, and try locking again. But the problem is that this particular call to pthread_mutex_lock would be much heavier than locking an initialized mutex for reasons which are not obvious (besides, we would have to handle concurrency by some way, like having a pthread_once_t in pthread_mutex_t). I find not having PTHREAD_MUTEX_INITIALIZER more clear, even if this makes us not really posix compliant.

Quoted 6 lines

If we have all objects and can explore ownership, we can also implement robust mutexes this way, i.e. waiter signaling when the owner dies.

Jan

Signature · 1 line
                                                                Gilles.
#5 lore raw
In reply to Gilles Chanteperdrix
Quoted 7 lines · Gilles Chanteperdrix

Hi,

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

Thanks in advance for your input.

Nothing pending for 2.6, I'm focusing on 3.x now. However let's go for -rc1 first, this is a major release anyway.

Signature · 1 line
Philippe.
#6 lore raw
In reply to Gilles Chanteperdrix

Hi,

Quoted 6 lines · Gilles Chanteperdrix

Hi,

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

Yes. in my experimental branch, I have a few things which are not that experimental. I would like to push:
- a first version of Julien Delange's ni_660x driver
- Anders Blomdell's fix on duplicate sympbols with comedi
- Anders Blomdell's fix in pcimio driver (wrong IRQ number after reboot)
- some waveform generation tools (fully generic)
- an overhaul of the testing drivers (fake + loop => fake)

I will integrate them in my analogy branch and send a pull request if you are OK with that.

Alexis.

#7 lore raw
Quoted 18 lines · Alexis Berlemont

Hi,

Quoted 6 lines · Gilles Chanteperdrix

Hi,

I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first?

Yes. in my experimental branch, I have a few things which are not that experimental. I would like to push:
- a first version of Julien Delange's ni_660x driver
- Anders Blomdell's fix on duplicate sympbols with comedi
- Anders Blomdell's fix in pcimio driver (wrong IRQ number after reboot)
- some waveform generation tools (fully generic)
- an overhaul of the testing drivers (fake + loop => fake)

Quoted 2 lines

I will integrate them in my analogy branch and send a pull request if you are OK with that.

Ok for me.

Signature · 1 line
                                                                Gilles.