Skip to contentSkip to conversation

linux preempt-rt_ full + interrupt +poll on kernel 5.4.247

DISCUSSION [email protected] 1 participant 1 message Feb 18, 2024

lore
Share & tools
lore
#0 lore raw

Hello,dear:
     I havesome problems when using linux preempt-rt-full mode. After the real-time patch, all interrupts have been forced to be threaded, and the spin_lock used in the kernel has been converted to a mutex. I want use interrupt wake up+ POLL mechanism notification and I turn off interrupt threading at the same time. In this case, I have some problems. Because spin_lock is used in wake_up, I found that we have provided swake_up, but there is no corresponding function interface for poll. I would like to know if such an interface is not provided or is this usage not recommended? And why?

--------------
[email protected]