Linux-rt-users archive on
 help / color / Atom feed
From: liron atedgi <>
Subject: Invoke eventfd_signal within ISR with IRQF_NO_THREAD set
Date: Tue, 29 Oct 2019 21:34:20 +0200
Message-ID: <> (raw)

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.


                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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