I develop a kernel module which does a heavy job which of course takes time.
The problem is that the module utilizes the CPU for more than 20 seconds and as
a result a BUG of softlockup_threshold is raised.
My question is, is there any way to bypass this? i.e. can it tamper the threshold?
Or can it force scheduling and continue its work later? (in order to set the timer to 0).
Thank you in advance,
Panos
You could try to yield the CPU for a while, If that’s acceptable, then you should look into
schedule()There’s a great article here about Sleeping in the Kernel