* Invoke eventfd_signal within ISR with IRQF_NO_THREAD set
@ 2019-10-29 19:34 liron atedgi
0 siblings, 0 replies; only message in thread
From: liron atedgi @ 2019-10-29 19:34 UTC (permalink / raw)
To: linux-rt-users
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-29 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 19:34 Invoke eventfd_signal within ISR with IRQF_NO_THREAD set liron atedgi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).