lkml.org 
[lkml]   [2009]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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




    \
     
     \ /
      Last update: 2009-12-01 19:17    [W:4.357 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site