>> >> In this application the switchback syscalls are used rather often. > >Two things to note: > >- mode switches do not go without some overhead, it is almost never >a good idea to force the switchback, since the nucleus will switch >the target thread to secondary mode when needed anyway, all that you >risk is to introduce useless mode switches, so, if you do it, you >must have a good reason for it;
Yes I know. However we need to assure that the task switches back to secondary domain after using skin's call, since otherwise it would affect other linux tasks which actual have a higher linux-priority. In general we try to simulate something like "priority coupling" since this is marked as deprecated. >- there is a risk of overflowing the nucleus queue for relax >requests, you will see a message in the kernel logs when this >happens if you enable debugging of the nucleus >(CONFIG_XENO_OPT_DEBUG_NUCLEUS). I have enabled CONFIG_XENO_OPT_DEBUG_NUCLEUS now but I do not see any according message. Regards, Christoph _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
