Hi, We are using the back-ported auto-relax patches of Xenomai-head on the 2.5.6 release on Linux 2.6.32.15.
We noticed that our prio-0 shadowed task is not always auto-relaxed and traced it back to a problem with rt_task_send/receive/reply. The rt_task_send/receive/reply mechanism uses the xnsynch primitive to implement its PIP. However, this mechanism only acquires the xysynch primitive without releasing it. This results in the resource counter never be 0 anymore and thus breaking the auto-relaxed which is based on this resource counter. I guess releasing the xnsynch resets the owner, which is not wanted either.. Any idea for a fix? Thanks, Henri. On Tue, Oct 12, 2010 at 9:16 AM, Henri Roosen <[email protected]> wrote: > That was a problem with our build environment. > > Patches work and the base-prio 0 task nicely switches to the Linux > domain and competes with the Linux threads for the processor. Now we > don't loose TCP connection to our target anymore. > > Thanks! > > Henri > > On Mon, Oct 11, 2010 at 5:35 PM, Henri Roosen <[email protected]> wrote: >> Thanks for the patches Philippe. I applied them to xenomai 2.5.5. >> Tests with a basic application look good, however our bigger project >> doesn't. I checked already if we release all mutexes; the base prio 0 >> thread thread released all of them but stays in primary domain after a >> xenomai call. >> >> I'll setup a clean environment, just to be sure, and will investigate >> further tomorrow. >> >> On Mon, Oct 11, 2010 at 11:31 AM, Andreas Glatz <[email protected]> wrote: >>> >>>> >>>> The auto-relax feature is now available from -head (upcoming >>>> 2.6.x). You >>>> will need all commits from >>>> http://git.xenomai.org/?p=xenomai- >>>> head.git;a=commit;h=b75cec19387e561f82ac55595db8c993b049f071 >>>> to >>>> http://git.xenomai.org/?p=xenomai- >>>> head.git;a=commit;h=6653a9e8eb7339b749989bd74adc3ac3bd29e4da >>>> >>>> -- >>>> Philippe. >>>> >>>> >>> >>> Very nice. Will try it out soon on my G4 PB Aluminium. >>> >>> Andreas >>> >>> >>> _______________________________________________ >>> Xenomai-help mailing list >>> [email protected] >>> https://mail.gna.org/listinfo/xenomai-help >>> >> > _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
