poll/select() notifications. Timer notifications.
This patch includes generic poll/select and timer notifications.
kevent_poll works simialr to epoll and has the same issues (callback
is invoked not from internal state machine of the caller, but through
process awake).
Timer notifications can b
On Sat, Aug 12, 2006 at 01:38:35AM -0700, Andrew Morton ([EMAIL PROTECTED])
wrote:
> On Sat, 12 Aug 2006 12:18:35 +0400
> Evgeniy Polyakov <[EMAIL PROTECTED]> wrote:
>
> > On Fri, Aug 11, 2006 at 08:45:31AM -0700, Andrew Morton ([EMAIL PROTECTED])
> > wrote:
> > > > +static struct lock_class_key
On Sat, 12 Aug 2006 12:18:35 +0400
Evgeniy Polyakov <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 11, 2006 at 08:45:31AM -0700, Andrew Morton ([EMAIL PROTECTED])
> wrote:
> > > +static struct lock_class_key kevent_poll_key;
> > > +
> > > +void kevent_poll_reinit(struct file *file)
> > > +{
> > > + loc
On Fri, Aug 11, 2006 at 08:45:31AM -0700, Andrew Morton ([EMAIL PROTECTED])
wrote:
> > +static struct lock_class_key kevent_poll_key;
> > +
> > +void kevent_poll_reinit(struct file *file)
> > +{
> > + lockdep_set_class(&file->st.lock, &kevent_poll_key);
> > +}
>
> Why is this necessary?
Locks
On Fri, 11 Aug 2006 12:40:10 +0400
Evgeniy Polyakov <[EMAIL PROTECTED]> wrote:
>
> poll/select() notifications. Timer notifications.
>
> This patch includes generic poll/select and timer notifications.
>
> kevent_poll works simialr to epoll and has the same issues (callback
> is invoked not fro
poll/select() notifications. Timer notifications.
This patch includes generic poll/select and timer notifications.
kevent_poll works simialr to epoll and has the same issues (callback
is invoked not from internal state machine of the caller, but through
process awake).
Timer notifications can b