Linux-rt-users archive on
 help / color / 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

I'll be glad for any help.

Appreciate your reply.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

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

Linux-rt-users archive on

Archives are clonable:
	git clone --mirror linux-rt-users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rt-users linux-rt-users/ \
	public-inbox-index linux-rt-users

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone