Re: [Xenomai-core] [PATCH] shared irqs v.3

2006-01-18 Thread Dmitry Adamushko
Hi Jan, > As lighter may mean that reducing the structure size also > reduces the number of used cache lines, it might be a good > idea. The additional complexity for entry removal is negligible. My current working version is already lighter when it comes to the size of additional data structur

Re: [Xenomai-core] [PATCH] shared irqs v.3

2006-01-18 Thread Dmitry Adamushko
Hi Jan, > As lighter may mean that reducing the structure size also > reduces the number of used cache lines, it might be a good > idea. The additional complexity for entry removal is negligible. My current working version is already lighter when it comes to the size of additional data structur

Re: [Xenomai-core] [PATCH] shared irqs v.3

2006-01-17 Thread Jan Kiszka
Hi Dmitry, Dmitry Adamushko wrote: > Hi, > > here goes another implementation of shared irqs on the nucleus layer. > I have conducted a few tests and it seems to work. The test example is > attached. > > There were 2 main issues concerning synchronization: > > 1) xnintr_attach() vs. xnintr_det

Re: [Xenomai-core] [PATCH] shared irqs v.3

2006-01-17 Thread Jan Kiszka
Hi Dmitry, Dmitry Adamushko wrote: > Hi, > > here goes another implementation of shared irqs on the nucleus layer. > I have conducted a few tests and it seems to work. The test example is > attached. > > There were 2 main issues concerning synchronization: > > 1) xnintr_attach() vs. xnintr_det

[Xenomai-core] [PATCH] shared irqs v.3

2006-01-15 Thread Dmitry Adamushko
Hi, here goes another implementation of shared irqs on the nucleus layer. I have conducted a few tests and it seems to work. The test example is attached. There were 2 main issues concerning synchronization: 1)  xnintr_attach() vs. xnintr_detach() (and each of them vs. itself)     The problem

[Xenomai-core] [PATCH] shared irqs v.3

2006-01-15 Thread Dmitry Adamushko
Hi, here goes another implementation of shared irqs on the nucleus layer. I have conducted a few tests and it seems to work. The test example is attached. There were 2 main issues concerning synchronization: 1)  xnintr_attach() vs. xnintr_detach() (and each of them vs. itself)     The problem