Question regarding timers and softIRQ/ksoftirqd
by nathan2225 from LinuxQuestions.org on (#5NHD3)
Hi,
from network handling I know, that if there are many incoming packets to handle at some point, the ksoftirqd starts and handles packet delivery on task level (instead of softIRQ)..
But now I have a (realtime) problem with timers.
Even if I force ksoftirqd to start and take the timer work (I can see the timer will now be handled in the context of the ksoftirqd), but still the trace shows that all the time the softIRQ flag is enabled (and blocking all other tasks)
I need an explanation why this happens and if there is a way to run (some) timers in ksoftirqd context but without softIRQ enabled.
Used kernel: vanilla 5.4.x
Regards
Robert
from network handling I know, that if there are many incoming packets to handle at some point, the ksoftirqd starts and handles packet delivery on task level (instead of softIRQ)..
But now I have a (realtime) problem with timers.
Even if I force ksoftirqd to start and take the timer work (I can see the timer will now be handled in the context of the ksoftirqd), but still the trace shows that all the time the softIRQ flag is enabled (and blocking all other tasks)
I need an explanation why this happens and if there is a way to run (some) timers in ksoftirqd context but without softIRQ enabled.
Used kernel: vanilla 5.4.x
Regards
Robert