Quantcast
Channel: How to create a kernel thread in atomic context and use it multiple times [BUG: Scheduling while atomic] - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Peter for How to create a kernel thread in atomic context and use...

You don't actually want a kernel thread. You want a workqueue. You can queue a worker function from your interrupt top-half, and the kernel will run it in process context as soon as it has time. If you...

View Article


How to create a kernel thread in atomic context and use it multiple times...

I need to kthread_run in a driver kernel code. This thread tends to turns an LED on/OFF where the device is transmitting data. So basically I won't want the transmission be slowed down be cause of the...

View Article
Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>