[lkml]   [2010]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [suspend/resume] Re: userspace notification from module
    Dnia 2 stycznia 2010 16:56 	Daniel Borkmann <> napisał(a):
    > Hi Andy,
    > 2010/1/2 Andy Walls <>:
    > > Why not:
    > >
    > > a. write a module that implements a device node that supports poll(),
    > > and
    > >
    > > b. have a user space process select() on the fd for read or exception
    > > notification
    > >
    > > ?
    > This is, of course, another possible solution that is more "cleaner"
    > than the one with the signals.
    > Then, your userspace program would have another thread polling for the
    > device node. Question is which timeout would be appropriate to be "CPU
    > friendly" and to keep notification latency short?

    Just need as fast as possible solution and on the other hand acceptable for kernel sources.
    Usually programs needs just to disconnect something or set one flag.
    Even if program will have no time for this it could be enough just to send this precious info.

    Best regards.
    Barłomiej Zimoń
    PLD Linux, Kadu Team
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-01-02 19:29    [W:0.022 / U:9.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site