Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)

From: Alan Cox
Date: Thu May 27 2010 - 16:47:17 EST


> > The event was not lost.
>
> Not lost, but not delivered. So you need your policy agent to send

it will be delivered next time the process wakes. It's not lost.

> SIGCONT when you receive any wakeup event, which either means proxying
> all your network traffic through your policy agent or having some
> mechanism for alerting the policy agent whenever you leave the deep idle
> state.

You didn't mention that requirement last time.

> > > also the race of an application being in the middle of handling a wakeup
> > > event when you send it the signal.
> >
> > sigmask()
>
> Doesn't help - I may be hit by the signal between the poll() unblocking
> and me having the opportunity to call sigmask().

ppoll(). This is all existing solved stuff.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/