Hi Rainer, On 07.06.21 07:23, Rainer Kloud wrote: > Hello Pavel, > >> I notice you are using -rt kernel. Do you actually need realtime >> features? > > Yes, I actually need the realtime feature. I have one task which > needs to run periodically in realtime (triggered every 10ms by an > external IRQ). > Please don't forget to share your kernel config with us so that we can make sure your use case is covered subsystem-wise in CIP. From Siemens side, we still have room for improvements in this regard, even more on -rt. > Jun 1 09:11:46 sicam kernel: [46802.944299] [] (dump_stack) from [] (check_preemption_disabled+0x110/0x114) > Jun 1 09:11:46 sicam kernel: [46802.944316] [] (check_preemption_disabled) from [] (migrate_enable+0x40/0x488) > Jun 1 09:11:46 sicam kernel: [46802.944338] [] (migrate_enable) from [] (ip_finish_output2+0x21c/0x460) Migration should be on across migration-disabled sections, that's their whole purpose. But maybe the check that preemption needs to be off when using smp_processor_id needs relaxing to at least migration must be off. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux