Am Tue, 11 Jul 2017 11:45:20 +0200 schrieb Philippe Gerum <[email protected]>:
> On 07/11/2017 10:41 AM, Henning Schild wrote: > > Hi, > > > > i was asked to assist debugging a case where a SIGXCPU is received > > after calling rt_task_set_priority. According to the docs that call > > should not cause secondary mode switches, but it seems it does. > > This is a documented issue: > http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Scheduling > > > Xenomai 3.0.5 kernel 4.4.43 > > > > I did not start digging yet but wanted to ask if someone has already > > come across that scenario. > > > > There is no work around with 3.0.x. There is a build option with the > upcoming 3.1 in -next called --enable-lazy-setsched, which defers the > priority update on the glibc-side until the target thread switches to > secondary mode. So it is known and the call should probably be tagged switch-secondary? Henning _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai
