[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0912011003290.20551@makko.or.mcafeemobile.com>
Date: Tue, 1 Dec 2009 10:05:56 -0800 (PST)
From: Davide Libenzi <davidel@...ilserver.org>
To: Mark Hounschell <markh@...pro.net>
cc: Clemens Ladisch <clemens@...isch.de>,
Mai Daftedar <mai.daftedar@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Signal from kernel space to user space
On Tue, 1 Dec 2009, Mark Hounschell wrote:
> If no "information" is required, which of these are the fastest, say from an interrupt handler?
> I have a PCI card that handles external interrupts from the outside world and does nothing but
> report those external interrupts to userland. We use send_sig or wake_up_process depending
> on whether userland is going to wait for it or not. If there is a better/faster way I would be
> very interested.
eventfd is. eventfd_signal() is also callable from non-sleeping contexts.
- Davide
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists