Invoke eventfd_signal within ISR with IRQF_NO_THREAD set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I've an interrupt handler which registered with IRQF_NO_THREAD flag.
As part on the ISR, I would like to invoke eventfd_signal
(fs/eventfd.c:eventfd_signal) in order to wakeup some user thread
which "sits" on this event.

Since the ISR marked as NO_THREAD (which is what i need), the ISR will
be called within interrupt context, however, it seems that the
eventfd_signal function uses a spinlock which is not raw, hence, with
RT patch it is converted to rt_spin_lock which is actually a mutex and
hence, it's not an appropriate locking mechanism to be used in
interrupt,

I'll be glad for any help.

Appreciate your reply.

Regards,
Liron



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux