Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Jan Kiszka
On 2011-06-20 22:52, Gilles Chanteperdrix wrote: > On 06/20/2011 10:41 PM, Jan Kiszka wrote: >> xnarch_switch_to is the central entry point for everyone. It may decide >> to branch to switch_to or __switch_to, or it simply handles all on its >> own - that's depending on the arch. > > No, the Linux

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Gilles Chanteperdrix
On 06/20/2011 10:41 PM, Jan Kiszka wrote: > xnarch_switch_to is the central entry point for everyone. It may decide > to branch to switch_to or __switch_to, or it simply handles all on its > own - that's depending on the arch. No, the Linux kernel does not know anything about xnarch_switch_to, so

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Jan Kiszka
On 2011-06-20 21:51, Gilles Chanteperdrix wrote: > On 06/20/2011 09:41 PM, Jan Kiszka wrote: >> On 2011-06-20 21:41, Gilles Chanteperdrix wrote: >>> On 06/20/2011 09:38 PM, Jan Kiszka wrote: On 2011-06-20 19:33, Gilles Chanteperdrix wrote: > On 06/20/2011 06:43 PM, Jan Kiszka wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Gilles Chanteperdrix
On 06/20/2011 09:41 PM, Jan Kiszka wrote: > On 2011-06-20 21:41, Gilles Chanteperdrix wrote: >> On 06/20/2011 09:38 PM, Jan Kiszka wrote: >>> On 2011-06-20 19:33, Gilles Chanteperdrix wrote: On 06/20/2011 06:43 PM, Jan Kiszka wrote: > On 2011-06-19 17:41, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Jan Kiszka
On 2011-06-20 21:41, Gilles Chanteperdrix wrote: > On 06/20/2011 09:38 PM, Jan Kiszka wrote: >> On 2011-06-20 19:33, Gilles Chanteperdrix wrote: >>> On 06/20/2011 06:43 PM, Jan Kiszka wrote: On 2011-06-19 17:41, Gilles Chanteperdrix wrote: > Merged your whole branch, but took the liberty t

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Gilles Chanteperdrix
On 06/20/2011 09:38 PM, Jan Kiszka wrote: > On 2011-06-20 19:33, Gilles Chanteperdrix wrote: >> On 06/20/2011 06:43 PM, Jan Kiszka wrote: >>> On 2011-06-19 17:41, Gilles Chanteperdrix wrote: Merged your whole branch, but took the liberty to change it a bit (replacing the commit concerning

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Jan Kiszka
On 2011-06-20 19:33, Gilles Chanteperdrix wrote: > On 06/20/2011 06:43 PM, Jan Kiszka wrote: >> On 2011-06-19 17:41, Gilles Chanteperdrix wrote: >>> Merged your whole branch, but took the liberty to change it a bit >>> (replacing the commit concerning unlocked context switches with comments >>> cha

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Gilles Chanteperdrix
On 06/20/2011 06:43 PM, Jan Kiszka wrote: > On 2011-06-19 17:41, Gilles Chanteperdrix wrote: >> Merged your whole branch, but took the liberty to change it a bit >> (replacing the commit concerning unlocked context switches with comments >> changes only, and changing the commit about xntbase_tick).

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-20 Thread Jan Kiszka
On 2011-06-19 17:41, Gilles Chanteperdrix wrote: > Merged your whole branch, but took the liberty to change it a bit > (replacing the commit concerning unlocked context switches with comments > changes only, and changing the commit about xntbase_tick). What makes splmax() redundant for the unlocke

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-19 Thread Gilles Chanteperdrix
On 06/18/2011 03:58 PM, Jan Kiszka wrote: > On 2011-06-18 15:12, Gilles Chanteperdrix wrote: >> On 06/18/2011 03:07 PM, Jan Kiszka wrote: >>> On 2011-06-18 14:56, Gilles Chanteperdrix wrote: On 06/18/2011 02:10 PM, Jan Kiszka wrote: > On 2011-06-18 14:09, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 17:01, Gilles Chanteperdrix wrote: > On 06/18/2011 04:06 PM, Jan Kiszka wrote: >> On 2011-06-18 16:01, Gilles Chanteperdrix wrote: >>> On 06/18/2011 03:47 PM, Jan Kiszka wrote: On 2011-06-18 15:40, Gilles Chanteperdrix wrote: > On 06/18/2011 03:16 PM, Jan Kiszka wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 04:06 PM, Jan Kiszka wrote: > On 2011-06-18 16:01, Gilles Chanteperdrix wrote: >> On 06/18/2011 03:47 PM, Jan Kiszka wrote: >>> On 2011-06-18 15:40, Gilles Chanteperdrix wrote: On 06/18/2011 03:16 PM, Jan Kiszka wrote: > On 2011-06-18 15:12, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 16:01, Gilles Chanteperdrix wrote: > On 06/18/2011 03:47 PM, Jan Kiszka wrote: >> On 2011-06-18 15:40, Gilles Chanteperdrix wrote: >>> On 06/18/2011 03:16 PM, Jan Kiszka wrote: On 2011-06-18 15:12, Gilles Chanteperdrix wrote: > On 06/18/2011 03:07 PM, Jan Kiszka wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 03:47 PM, Jan Kiszka wrote: > On 2011-06-18 15:40, Gilles Chanteperdrix wrote: >> On 06/18/2011 03:16 PM, Jan Kiszka wrote: >>> On 2011-06-18 15:12, Gilles Chanteperdrix wrote: On 06/18/2011 03:07 PM, Jan Kiszka wrote: > On 2011-06-18 14:56, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 15:12, Gilles Chanteperdrix wrote: > On 06/18/2011 03:07 PM, Jan Kiszka wrote: >> On 2011-06-18 14:56, Gilles Chanteperdrix wrote: >>> On 06/18/2011 02:10 PM, Jan Kiszka wrote: On 2011-06-18 14:09, Gilles Chanteperdrix wrote: > On 06/18/2011 12:21 PM, Jan Kiszka wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 15:40, Gilles Chanteperdrix wrote: > On 06/18/2011 03:16 PM, Jan Kiszka wrote: >> On 2011-06-18 15:12, Gilles Chanteperdrix wrote: >>> On 06/18/2011 03:07 PM, Jan Kiszka wrote: On 2011-06-18 14:56, Gilles Chanteperdrix wrote: > > Maybe in the irq handlers, we should skip

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 03:16 PM, Jan Kiszka wrote: > On 2011-06-18 15:12, Gilles Chanteperdrix wrote: >> On 06/18/2011 03:07 PM, Jan Kiszka wrote: >>> On 2011-06-18 14:56, Gilles Chanteperdrix wrote: Maybe in the irq handlers, we should skip the XNHTICK replay, when current_domain is root_dom

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 15:12, Gilles Chanteperdrix wrote: > On 06/18/2011 03:07 PM, Jan Kiszka wrote: >> On 2011-06-18 14:56, Gilles Chanteperdrix wrote: >>> >>> Maybe in the irq handlers, we should skip the XNHTICK replay, when >>> current_domain is root_domain. >>> >> >> That would be against the purpose

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 03:07 PM, Jan Kiszka wrote: > On 2011-06-18 14:56, Gilles Chanteperdrix wrote: >> On 06/18/2011 02:10 PM, Jan Kiszka wrote: >>> On 2011-06-18 14:09, Gilles Chanteperdrix wrote: On 06/18/2011 12:21 PM, Jan Kiszka wrote: > On 2011-06-17 20:55, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 14:56, Gilles Chanteperdrix wrote: > On 06/18/2011 02:10 PM, Jan Kiszka wrote: >> On 2011-06-18 14:09, Gilles Chanteperdrix wrote: >>> On 06/18/2011 12:21 PM, Jan Kiszka wrote: On 2011-06-17 20:55, Gilles Chanteperdrix wrote: > On 06/17/2011 07:03 PM, Jan Kiszka wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 02:10 PM, Jan Kiszka wrote: > On 2011-06-18 14:09, Gilles Chanteperdrix wrote: >> On 06/18/2011 12:21 PM, Jan Kiszka wrote: >>> On 2011-06-17 20:55, Gilles Chanteperdrix wrote: On 06/17/2011 07:03 PM, Jan Kiszka wrote: > On 2011-06-17 18:53, Gilles Chanteperdrix wrote: >>

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-18 14:09, Gilles Chanteperdrix wrote: > On 06/18/2011 12:21 PM, Jan Kiszka wrote: >> On 2011-06-17 20:55, Gilles Chanteperdrix wrote: >>> On 06/17/2011 07:03 PM, Jan Kiszka wrote: On 2011-06-17 18:53, Gilles Chanteperdrix wrote: > On 06/17/2011 04:38 PM, GIT version control wrot

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Gilles Chanteperdrix
On 06/18/2011 12:21 PM, Jan Kiszka wrote: > On 2011-06-17 20:55, Gilles Chanteperdrix wrote: >> On 06/17/2011 07:03 PM, Jan Kiszka wrote: >>> On 2011-06-17 18:53, Gilles Chanteperdrix wrote: On 06/17/2011 04:38 PM, GIT version control wrote: > Module: xenomai-jki > Branch: for-upstream

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-18 Thread Jan Kiszka
On 2011-06-17 20:55, Gilles Chanteperdrix wrote: > On 06/17/2011 07:03 PM, Jan Kiszka wrote: >> On 2011-06-17 18:53, Gilles Chanteperdrix wrote: >>> On 06/17/2011 04:38 PM, GIT version control wrote: Module: xenomai-jki Branch: for-upstream Commit: 7203b1a66ca0825d5bcda1c3abab9ca0481

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-17 Thread Gilles Chanteperdrix
On 06/17/2011 07:03 PM, Jan Kiszka wrote: > On 2011-06-17 18:53, Gilles Chanteperdrix wrote: >> On 06/17/2011 04:38 PM, GIT version control wrote: >>> Module: xenomai-jki >>> Branch: for-upstream >>> Commit: 7203b1a66ca0825d5bcda1c3abab9ca048177914 >>> URL: >>> http://git.xenomai.org/?p=xenomai

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-17 Thread Jan Kiszka
On 2011-06-17 18:53, Gilles Chanteperdrix wrote: > On 06/17/2011 04:38 PM, GIT version control wrote: >> Module: xenomai-jki >> Branch: for-upstream >> Commit: 7203b1a66ca0825d5bcda1c3abab9ca048177914 >> URL: >> http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=7203b1a66ca0825d5bcda1c3abab9c

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix interrupt handler tails

2011-06-17 Thread Gilles Chanteperdrix
On 06/17/2011 04:38 PM, GIT version control wrote: > Module: xenomai-jki > Branch: for-upstream > Commit: 7203b1a66ca0825d5bcda1c3abab9ca048177914 > URL: > http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=7203b1a66ca0825d5bcda1c3abab9ca048177914 > > Author: Jan Kiszka > Date: Fri Jun 17