[Xenomai] context switch minimize

jimmyo jimmyo at gmx.at
Thu Jul 5 11:37:05 CEST 2018


Hello,

we have a running system on mx6 with Kernel 3.10.x and Xenomai 2.6.4.
i known, it's very old.
now we have to make some optmization.
In one xenomai task we need to check, if a TCP/UDP socket handle has 
data to receive.
at this time we use select to detect if there are data available and with
ioctl & FIONREAD we get count of data.

Now we must search a way, to do this in the primary domain, without 
switching to secondary domain.

Is there a way to solve it ?

we have a exists rtdm interface to a own kernel module.
And we use rt_dev_ioctl to communicate with this module.

Thanx & best regards
   Jimmy


More information about the Xenomai mailing list