Article 5R7H2 Signals vs. IOCTL: Notify interrupts to user space

Signals vs. IOCTL: Notify interrupts to user space

by
zvivered
from LinuxQuestions.org on (#5R7H2)
Hello,

My hardware is creating an interrupt handled by a kernel driver.
In order to notify the application there are 2 ways (that I know about):

1. Send a signal from driver to user space
2. User space can send IOCTL answered upon interrupt.

Can you please tell if one method is better than the other ?
What method is more popular ?

Thank you,
Zvikalatest?d=yIl2AUoC8zA latest?i=cvCk9iOUp5w:PK4tphGxNyU:F7zBnMy latest?i=cvCk9iOUp5w:PK4tphGxNyU:V_sGLiP latest?d=qj6IDK7rITs latest?i=cvCk9iOUp5w:PK4tphGxNyU:gIN9vFwcvCk9iOUp5w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments