On 08.07.21 11:51, Richard Weinberger wrote: > On Thu, Jul 8, 2021 at 11:25 AM Jan Kiszka <[email protected]> wrote: >> The general philosophy of Xenomai is that applications should not rely >> on the exact switching behavior. So the question would be why your >> application needs one or the other behavior? > > In this particular case the application uses the ioctl() system call > to call into a > xenomai kernel module. The module implements the rt and nrt variant of > ioctl() and > the application assumes which version of the ioctl() implementation > will get reached.
...that might be the actual design bug. If a driver implements the a service for both calling modes, the service should effectively do the same, ie. should be mode-agnostic. Seems, this was violated here. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
