All of lore.kernel.org
 help / color / mirror / Atom feed
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.